db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject RE: Transactioning with MySQL
Date Thu, 08 Oct 2009 05:32:01 GMT
> Can someone explain why my transaction is being committed on
> loc.save(connection) when it should be rolled back?
> ...

- Check that you use a mysql engine that supports transactions (the default
engine MyISAM does NOT support transactions)
- check that autocommit is set false in your database properties (you can
also use connection.getAutocommit() to check)
- If that still does not work (which I doubt), please debug into the Torque
code and check when the commit occurs.

   Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message