With MSAccess I had a problem with transaction. When an error occurred in a transaction i do a Rollback but the .ldb file is not deleted even with db.Close. Then I could not continue, each insert or update was throwing an error, an error not related to the first error.
I don't know how it could work with oleutil.CallMethod(tx.c.db, "Rollback") without throwing an error but i found that with RollbackTrans it works.
Hi,
With MSAccess I had a problem with transaction. When an error occurred in a transaction i do a
Rollback
but the.ldb
file is not deleted even withdb.Close
. Then I could not continue, each insert or update was throwing an error, an error not related to the first error.I don't know how it could work with
oleutil.CallMethod(tx.c.db, "Rollback")
without throwing an error but i found that withRollbackTrans
it works.