[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate and JBOSS JTA failed transactions

smithbstl do-not-reply at jboss.com
Fri Sep 8 10:16:09 EDT 2006


I have solved my problem,  It turns out that I was not wrapping my Hibernate sessions in UserTransactions.  I should have been using a local-tx connection instead of an XA connection.  Much thanks to Weston Price for helping me out on this one.

This may be useful for anyone who does not have a good grasp of JTA UserTransactions like I didn't.  This deals with JDBC instead of Hibernate but the same logic applies
http://jboss.org/index.html?module=bb&op=viewtopic&p=3969854

Here is another Hibernate specific resource.
http://www.hibernate.org/42.html

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970360#3970360

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970360



More information about the jboss-user mailing list