Im getting this error:
10-05 19:36:09.904: WARN/System.err(1039): android.database.sqlite.SQLiteConstraintException: error code 19: constraint failed
Is there a way to the class SQLiteDatabase show queries created in insert and update methods?
Ty
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You are probably inserting two items with the same primary key, which is supposed to be unique. There is no way that I know of to get verbose SQL logs, sorry.