Logged Database
In a database that has been created with logging, if a COMMIT statement is sent to the database server and autocommit mode is enabled, the error -255: Not in transaction is returned by the database server because there is currently no user transaction started. This occurs whether the COMMIT statement was sent with the Connection.commit() method or directly with an SQL statement.