sqlite-jdbc icon indicating copy to clipboard operation
sqlite-jdbc copied to clipboard

Support for `executeLargeUpdate`

Open tdudzik opened this issue 3 years ago • 1 comments

Does sqlite-jdbc currently supports PreparedStatement#executeLargeUpdate? I'm trying to use Helidon along with SQLite and I'm getting java.lang.UnsupportedOperationException: executeLargeUpdate not implemented so I suppose the default implementation of that method is used (which is throwing the exception). I've also browsed the code and it seems this method is not implemented. Are there any plans to do so (or some reasons for which e.g. it's not possible)?

tdudzik avatar May 22 '22 15:05 tdudzik

I was looking at that, seems like the only difference between the normal and Large methods is the return type changing from int to long.

This returns an int, we would need to have the long equivalent, and it has an impact on JNI here as we would need to use sqlite3_int64 sqlite3_total_changes64(sqlite3*) instead.

gotson avatar Aug 11 '22 07:08 gotson