Skip to content

commit manually fail #7

@lijunle

Description

@lijunle

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)

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