ormlite-android
ormlite-android copied to clipboard
Fixed UpdateBuilder.update() / DeleteBuilder.delete() always return 0 when WAL enabled
Fixed UpdateBuilder.update() / DeleteBuilder.delete() always return 0 when WAL enabled
- The root cause is the same as referred in https://github.com/j256/ormlite-android/pull/131
- Maybe reflection is necessary,
execSQL
returns void, butexecuteSql
returns correct value - Calling methods in a compatible way has been verified and correctness is guaranteed, if
executeSql
failed, callexecSQL
Thanks for reviewing this PR