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,
execSQLreturns void, butexecuteSqlreturns correct value - Calling methods in a compatible way has been verified and correctness is guaranteed, if
executeSqlfailed, callexecSQL
Thanks for reviewing this PR
Thanks for this. Submitted a couple of things for consideration.
@j256 May you review again, thanks for the efforts