Skip to content Skip to sidebar Skip to footer

SQLiteConstraintException Dont Go Inside Catch

When I run that code I have inside the db.insert an exception: 08-29 15:40:17.519: E/SQLiteDatabase(3599): android.database.sqlite.SQLiteConstraintException: column date is not uni

Solution 1:

Use db.insertOrThrow() instead.


Post a Comment for "SQLiteConstraintException Dont Go Inside Catch"