Skip to content
Advertisement

“not Implemented by SQLite JDBC driver”

I have a database with User information, and I wanted to make a public static to return the database integers at any given time without having to make a void for every single one, but it’s giving me this error:

And this is my code:

Does someone understand what I’m doing wrong? I tried to Google things, but changing code around moved me from one error to the next… so I’m not really certain anymore at this point.

I am running JDBC driver sqlite-jdbc-3.8.11.2.jar

Advertisement

Answer

PreparedStatement.executeQuery(String sql) is not implemented. I guess you just want to call executeQuery(). The query is defined by the PreparedStatement already.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement