Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLite errors with Spigot 1.20.2 #3

Closed
Black-Hole opened this issue Oct 2, 2023 · 1 comment
Closed

SQLite errors with Spigot 1.20.2 #3

Black-Hole opened this issue Oct 2, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Black-Hole
Copy link

Spigot updated the SQLite driver with 1.20.2:
https://hub.spigotmc.org/jira/browse/SPIGOT-7491

So the Paintball plugin is throwing a lot of exceptions and won't work with 1.20.2:
[18:55:20] [Server thread/WARN]: java.sql.SQLFeatureNotSupportedException: not implemented by SQLite JDBC driver
[18:55:20] [Server thread/WARN]: at org.sqlite.jdbc3.JDBC3Statement.unsupported(JDBC3Statement.java:419)
[18:55:20] [Server thread/WARN]: at org.sqlite.jdbc3.JDBC3Statement.getGeneratedKeys(JDBC3Statement.java:357)
[18:55:20] [Server thread/WARN]: at Paintball.jar//de.blablubbabc.BlaDB.BlaSQLite.updateQueryRaw(BlaSQLite.java:305)
[18:55:20] [Server thread/WARN]: at Paintball.jar//de.blablubbabc.BlaDB.BlaSQLite.updateQuery(BlaSQLite.java:312)
[18:55:20] [Server thread/WARN]: at Paintball.jar//de.blablubbabc.BlaDB.BlaSQLite.createDefaultTable(BlaSQLite.java:365)
[18:55:20] [Server thread/WARN]: at Paintball.jar//de.blablubbabc.BlaDB.SQLArenaLobby.createDefaultTables(SQLArenaLobby.java:37)
[18:55:20] [Server thread/WARN]: at Paintball.jar//de.blablubbabc.BlaDB.SQLArenaLobby.(SQLArenaLobby.java:31)
[18:55:20] [Server thread/WARN]: at Paintball.jar//de.blablubbabc.BlaDB.BlaSQLite.(BlaSQLite.java:75)
[18:55:20] [Server thread/WARN]: at Paintball.jar//de.blablubbabc.paintball.Paintball.onEnable(Paintball.java:1001)

Spigot might revert the SQLite driver update, but will update to newer SQLite versions in future updates. So sooner or later the database queries needs to be adapted to this change.

@blablubbabc blablubbabc added the bug Something isn't working label Oct 3, 2023
@blablubbabc
Copy link
Contributor

This might no longer be an issue due to xerial/sqlite-jdbc#1035

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants