RE: Transactioning with MySQL
dizzle <[email protected]> Thu, 8 Oct 2009 06:05:11 -0700 (PDT)
| Newsgroups | gmane.comp.jakarta.turbine.torque.user |
|---|---|
| Message-ID | <[email protected]> |
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: [email protected] > For additional commands, e-mail: [email protected] > > > -- 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.