Check MySQL documentation, MyISAM tables DO NOT support TRANSACTIONS OR FOREIGN KEYS...
(the correct one is innodb, use configuration.setProperty(Environment.DIALECT, MySQL5InnoDBDialect.class.getName()); to force Hibernate to use inno db tables when creating database...) - Ville Kejo Starosta wrote: > > Hi! > > I've a problem with the rollback of transactions on tapestry-hibernate. > I use Typestry 5.0.18 with MySql on the backend. If make 80 Inserts and > I try to rollback the transaction with HibernateSessionManager.abort() > nothing happens, everything is committed and stored into the database. > Yesterday I tried to find the problem almost the whole day and I'm > almost sure my source is ok :-) > I also turned off explicitly <property > name="hibernate.connection.autocommit">false</property> > > I'm also sure my app runs not over a @CommitAfter and I'm also sure I > don't commit manually, but still everything is committed and stored into > the database. > > Anyone has the same problem? I'm getting a bit nervous about this > failure :-( > > nice greetz, > > Kejo > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > > -- View this message in context: http://www.nabble.com/Trouble-with-Transactions-in-tapestry-hibernate-tp22226012p22227995.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org