Re: Trouble with Transactions in tapestry-hibernate

2009-02-27 Thread Kejo Starosta
Wow this Mailing List is fast :-) Thank you for your replies, i fixed the problem finally! Kristian Marinkovic wrote: Tapestry 5 will open a new Transaction on every request. If you do not call commit explicitly Tapestry will rollback the Transaction after the request. i'd guess it has

Re: Trouble with Transactions in tapestry-hibernate

2009-02-26 Thread Kristian Marinkovic
Tapestry 5 will open a new Transaction on every request. If you do not call commit explicitly Tapestry will rollback the Transaction after the request. i'd guess it has something to do with your mysql settings. have you tried using hsqldb? does your problem still occur? g, kris Kejo

Re: Trouble with Transactions in tapestry-hibernate

2009-02-26 Thread Thiago H. de Paula Figueiredo
Em Thu, 26 Feb 2009 04:34:28 -0300, Kejo Starosta k...@zapfanlagen.biz escreveu: I've a problem with the rollback of transactions on tapestry-hibernate. I use Typestry 5.0.18 with MySql on the backend. Are your sure you're not using MyISAM tables? They don't have transaction support . . .

Re: Trouble with Transactions in tapestry-hibernate

2009-02-26 Thread Ville Virtanen
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