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( at com.almworks.sqlite4java.SQLiteConnection.exec( at lab.bridge.SQLiteBridge$2.job( at com.almworks.sqlite4java.SQLiteJob.execute( at com.almworks.sqlite4java.SQLiteQueue.executeJob( at om.almworks.sqlite4java.SQLiteQueue.queueFunction( at com.almworks.sqlite4java.SQLiteQueue.runQueue( at com.almworks.sqlite4java.SQLiteQueue.access$000( at com.almworks.sqlite4java.SQLiteQueue$ at Source)


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


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