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

commit manually fail #7

Open
lijunle opened this issue Dec 31, 2011 · 1 comment
Open

commit manually fail #7

lijunle opened this issue Dec 31, 2011 · 1 comment

Comments

@lijunle
Copy link

lijunle commented Dec 31, 2011

I set auto commit disable using

connection.setAutoCommit(false);

then, I commit manually

connection.setAutoCommit(true);

but not get it.

java.sql.SQLException: SQL logic error or missing database
    at org.sqlite.DB.throwex(DB.java:288)
    at org.sqlite.DB.exec(DB.java:68)
    at org.sqlite.Conn.commit(Conn.java:172)
    at database.Database.insert(Database.java:93)
    at junit.DatabaseTest.main(DatabaseTest.java:32)
@lijunle
Copy link
Author

lijunle commented Dec 31, 2011

not I am using this project, and it works.
http://www.xerial.org/trac/Xerial/wiki/SQLiteJDBC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant