JTATransactionFactory « Transaction « JPA Q&A

1. Error using a Websphere datasource and JTATransactionFactory    forum.hibernate.org

Sorry to bump my own topic, but here is some more info. In the hibernate code getUserTransaction calls UserTransaction ut = ( UserTransaction ) getInitialContext().lookup( utName ); This line is generating the error that's looping. Is there some way that I can check the result of getInitialContext or lookup ("java:comp/UserTransaction")? Thank you.

2. JTATransactionFactory and JTA transaction behavior/problem    forum.hibernate.org

Thanks Sebastian for your answer. I've read your post (15 jan 2006) and the answers...and your solution seems to work but does not fully satisfy me...lol In the doc, section 3.8.3, it is stated:...Using the "jta" session context, if there is no Hibernate Session associated with the current JTA transaction, one will be started and associated with that JTA transaction the ...

3. Problem with JTATransactionFactory    forum.hibernate.org

Hi guys.. Some hibernate help required. We are trying to use CMT with WebLogic 8.1 and Hibernate 3.0 , but ran into some issues. Hibernate version: 3.0 Listing down the doubts/queries that I have: 1. . Should this be mapped to org.hibernate.transaction.CMTTransactionFactory or org.hibernate.transaction.JTATransactionFactory? Hibernate documentation says tha JTA can be used for both and CMT only for CMT. ...

4. JTATransactionFactory: data not saved    forum.hibernate.org

5. JTATransactionFactory without jndi?    forum.hibernate.org

Hello, I want to use "BMT", so I configured the usage of JTATransactionFactory. Now I get this exception: 2547/main/JTATransaction: Could not find UserTransaction in JNDI javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.lookup(Unknown Source) at ...