You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Running some code to insert and return a generated key with sqlite jdbc version 3.36.0.2 works fine. Once I update to version 3.43.0.0 I get the following exception:
net.sf.persism.PersismException: not implemented by SQLite JDBC driver
Caused by: java.sql.SQLFeatureNotSupportedException: not implemented by SQLite JDBC driver
at org.sqlite.jdbc3.JDBC3PreparedStatement.unsupported(JDBC3PreparedStatement.java:448)
at org.sqlite.jdbc3.JDBC3Statement.getGeneratedKeys(JDBC3Statement.java:357)
at sproket.github.io.persism/net.sf.persism.Session.insert(Session.java:681)
When I'm calling:
rs = st.getGeneratedKeys();
To Reproduce
To reproduce perform and insert and try to get the new autoinc from the statement object.
Expected behavior
It should insert and return the auto-inc value.
Logs
see above
Environment (please complete the following information):
OS: Windows 11
CPU architecture: ?
sqlite-jdbc version 3.43.0.0
Java version openjdk 17,0.4.1
The text was updated successfully, but these errors were encountered:
Describe the bug
Running some code to insert and return a generated key with sqlite jdbc version 3.36.0.2 works fine. Once I update to version 3.43.0.0 I get the following exception:
net.sf.persism.PersismException: not implemented by SQLite JDBC driver
Caused by: java.sql.SQLFeatureNotSupportedException: not implemented by SQLite JDBC driver
at org.sqlite.jdbc3.JDBC3PreparedStatement.unsupported(JDBC3PreparedStatement.java:448)
at org.sqlite.jdbc3.JDBC3Statement.getGeneratedKeys(JDBC3Statement.java:357)
at sproket.github.io.persism/net.sf.persism.Session.insert(Session.java:681)
When I'm calling:
rs = st.getGeneratedKeys();
To Reproduce
To reproduce perform and insert and try to get the new autoinc from the statement object.
Expected behavior
It should insert and return the auto-inc value.
Logs
see above
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: