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-unsubscr...@db.apache.org > For additional commands, e-mail: torque-user-h...@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-unsubscr...@db.apache.org For additional commands, e-mail: torque-user-h...@db.apache.org