View Issue Details

IDProjectCategoryView StatusLast Update
0003975SymmetricDSBugpublic2019-05-22 16:47
Reporterelong Assigned To 
Prioritynormal 
Status newResolutionopen 
Product Version3.8.0 
Summary0003975: Android SQLITE_CONSTRAINT_PRIMARYKEY
DescriptionUser reported that an update will sometimes get 0 rows affected, which causes a fallback to an insert, which then returns SQLITE_CONSTRAINT_PRIMARYKEY because the row already exists. The call to select changes() to return the affected rows is returning 0 in some cases. Code re-implementation for AndrdoidSqlTemplate.update(SQLiteDatabase database, String sql, Object[] values, int[] types) is provided here:

https://sourceforge.net/p/symmetricds/discussion/1354726/thread/664087b442/
Tagsdialect: android

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-05-22 16:47 elong New Issue
2019-05-22 16:47 elong Tag Attached: dialect: android