job exception

Issue #34 invalid
Former user created an issue

Originally reported on Google Code with ID 34 ``` when I use sqlite4java, I gave a warning WARNING: [sqlite] SQLiteBridge$2@15d3388: job exception com.almworks.sqlite4java.SQLiteException: [1] DB[2] exec() cannot commit - no transaction is active at com.almworks.sqlite4java.SQLiteConnection.throwResult(SQLiteConnection.java:1192) at com.almworks.sqlite4java.SQLiteConnection.exec(SQLiteConnection.java:418) at lab.bridge.SQLiteBridge$2.job(SQLiteBridge.java:71) at com.almworks.sqlite4java.SQLiteJob.execute(SQLiteJob.java:372) at com.almworks.sqlite4java.SQLiteQueue.executeJob(SQLiteQueue.java:534) at om.almworks.sqlite4java.SQLiteQueue.queueFunction(SQLiteQueue.java:667) at com.almworks.sqlite4java.SQLiteQueue.runQueue(SQLiteQueue.java:623) at com.almworks.sqlite4java.SQLiteQueue.access$000(SQLiteQueue.java:77) at com.almworks.sqlite4java.SQLiteQueue$1.run(SQLiteQueue.java:205) at java.lang.Thread.run(Unknown Source)

```

Reported by `warloc69` on 2011-08-18 09:15:25

<hr>

Comments (2)

  1. Igor Sereda

    ``` So, what exactly is the problem? This warning tells you that you're doing COMMIT while there's no transaction. It's safe to ignore. You can also check SQLiteConnection.isAutoCommit() method, which would return true if there's no transaction going.

    Does that help or do you think there's a defect in sqlite4java?

    Igor ```

    Reported by `sereda` on 2011-08-18 13:18:06

  2. Log in to comment