wood burning stoves 2.0*
The moose likes JDBC and the fly likes XA Connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

XA Connection

Bala RThiagarajan
Greenhorn

Joined: Dec 21, 2007
Posts: 8
Can any one explain what wil happen if i use both Xa connection and a normal connetion in a single EJB transaction
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29285
    
140

Bala,
Welcome to JavaRanch!

If there is a transaction rollback, it will likely not work properly. While you can sometimes rollback one non-XA event in a transaction, it doesn't always work properly.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29285
    
140

Please don't post the same question twice. I'll let your other thread be the official one since the question is more detailed.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XA Connection
 
Similar Threads
Transactions
XATransaction
Connection_Pooling in WSAD
xa connection & pooled connection
Message driven bean (CMT)