Skip to content

'not implemented by SQLite JDBC driver' error with the driver org.xerial.sqlite-jdbc 3.43.0.0  #288

@zonex5

Description

@zonex5

Related to the latest changes: xerial/sqlite-jdbc#329

Exception in thread "main" java.sql.SQLException: Unable to run insert stmt on object Category(id=0, name=John): INSERT INTO category (name ) VALUES (?)
at com.j256.ormlite.stmt.mapped.MappedCreate.insert(MappedCreate.java:139)
at com.j256.ormlite.stmt.StatementExecutor.create(StatementExecutor.java:464)
at com.j256.ormlite.dao.BaseDaoImpl.create(BaseDaoImpl.java:337)
at com.j256.ormlite.dao.BaseDaoImpl.createIfNotExists(BaseDaoImpl.java:381)
at xyz.toway.tools.Main.main(Main.java:9)
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 com.j256.ormlite.jdbc.JdbcDatabaseConnection.insert(JdbcDatabaseConnection.java:188)
at com.j256.ormlite.stmt.mapped.MappedCreate.insert(MappedCreate.java:91)
... 4 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions