aspose file tools
The moose likes JDBC and Relational Databases and the fly likes XA Connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31426
    
184

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.


[OCA 8 book] [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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31426
    
184

Please don't post the same question twice. I'll let your other thread be the official one since the question is more detailed.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: XA Connection