job exception
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>
- *Attachment: [SQLiteBridge.java](https://storage.googleapis.com/google-code-attachments/sqlite4java/issue-34/comment-0/SQLiteBridge.java)*
Comments (2)
-
-
Reported by `sereda` on 2012-03-02 16:34:54 - Status changed: `Invalid`
- Log in to comment
``` 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