[hibernate-dev] Recursive exception and StackOverflowError in JTATransactionFactory.getUserTransaction()

Steve Ebersole steve at hibernate.org
Tue Oct 21 17:12:23 EDT 2008


http://viewvc.jboss.org/cgi-bin/viewvc.cgi/hibernate/core/branches/Branch_3_3/core/src/main/java/org/hibernate/transaction/JTATransactionFactory.java?view=log&pathrev=15251

http://viewvc.jboss.org/cgi-bin/viewvc.cgi/hibernate?view=rev&revision=15251

http://opensource.atlassian.com/projects/hibernate/browse/HHH-3481

Awesome how we link all that stuff together huh? ;)

-  

Steve Ebersole
Project Lead
http://hibernate.org
steve at hibernate.org

Principal Software Engineer
JBoss, a division of Red Hat
http://jboss.com
http://redhat.com
steve.ebersole at jboss.com
steve.ebersole at redhat.com


On Tue, 2008-10-21 at 13:46 -0700, Ovidiu Feodorov wrote:
> Hello there,
> 
> Is there a JIRA issue for the recursive error in  
> JTATransactionFactory.getUserTransaction() in 3.3.1.GA or you want me to 
> add one + patch?
> 
> If the UserTransaction name is invalid, NamingException is thrown 
> recursively by getUserTransaction() call (line 172) until the stack is full.
> 
> You probably wanted to call getUserTransactionName() instead of 
> getUserTransaction().
> 
> Cheers
> Ovidiu
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev




More information about the hibernate-dev mailing list