db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dizzle <lacertosa_domen...@bah.com>
Subject RE: Transactioning with MySQL
Date Thu, 08 Oct 2009 13:05:11 GMT

Changing my engine to innodb did the trick.  Thank you.

- Dom

Thomas Fischer-11 wrote:
> 
>> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Transactioning-with-MySQL-tp25792863p25802975.html
Sent from the Apache DB - Torque Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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