I am using the tapestry-hibernate and 'hibernate.connection.autocommit' in hibernate.cfg.xml is set to false.
After throwing a exception, transaction was committed. So I called HibernateSessionManager#abort(), but the transaction was still committed. Please tell me how to rollback the current transaction when a exception was thrown!!! -------------------------------- @Inject Session session; public Object onSubmit(){ User user = new User(); user.setName( "tapestry" ); session.save( user ); throw new RuntimException() // for test } ----------------------------------------- Osamuo -- View this message in context: http://www.nabble.com/T5-%3A-tapestry-hibernate-%3A-rollback-when-exception-was-thrown-tp14990335p14990335.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]