Anyone have any luck using SQLite JDBC with Fantom? I can query data just fine, but when I try to do anything that changes the database (insert, delete, etc.) I get the following error: sql::SqlErr: not implemented by SQLite JDBC driver.
The exact same code executed in Java over the same database doesn't have a problem.
The fact that I can query the database means the JDBC driver is being found and the database file is found. The Java test proves that the JDBC driver does in fact implement the functions I'm trying.
Is there something special about Fantom under the covers that I'm missing?
Thanks
Sean
brianThu 20 Sep 2012
What is the stack trace - there must be some specific method used by Fantom which your Java code is not calling
seanmcgintyThu 20 Sep 2012
Here's the stack trace:
sql::SqlErr: not implemented by SQLite JDBC driver
seanmcginty Thu 20 Sep 2012
Anyone have any luck using SQLite JDBC with Fantom? I can query data just fine, but when I try to do anything that changes the database (insert, delete, etc.) I get the following error: sql::SqlErr: not implemented by SQLite JDBC driver.
The exact same code executed in Java over the same database doesn't have a problem.
The fact that I can query the database means the JDBC driver is being found and the database file is found. The Java test proves that the JDBC driver does in fact implement the functions I'm trying.
Is there something special about Fantom under the covers that I'm missing?
Thanks
Sean
brian Thu 20 Sep 2012
What is the stack trace - there must be some specific method used by Fantom which your Java code is not calling
seanmcginty Thu 20 Sep 2012
Here's the stack trace:
sql::SqlErr: not implemented by SQLite JDBC driver
Cause:
brian Thu 20 Sep 2012
Not supporting JDBC
executeUpdate
seems like its missing some really core functionalitygo4 Fri 21 Sep 2012
I have fork a sql at here. And it's Sqlite and H2 compatible.