• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XA vs NON XA drivers

 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between XA vs NON XA drivers apart from the difference that XA drivers support 2PC protocol. In weblogic server it is possible for a one (only) driver to be non -XA and still participate in a distributed transaction. Thanks.
 
Jesus Angeles
Ranch Hand
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
re: and still participate in a distributed transaction

how many resources are involved in that transaction? if only 1, then non-xa is okay
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jesus Angeles:
re: and still participate in a distributed transaction

how many resources are involved in that transaction? if only 1, then non-xa is okay


More than 1.
http://e-docs.bea.com/wls/docs81/faq/JTA.html#737730
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pradip,
A non-XA driver/resource can participate in a distributed transaction if it is the last resource to commit.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jeanne Boyarsky:
Pradip,
A non-XA driver/resource can participate in a distributed transaction if it is the last resource to commit.


Thanks. What will the driver during the prepare phase - nothing ? :roll:
 
Abhinav Srivastava
Ranch Hand
Posts: 354
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Weblogic has an option of emulating 2PC with non XA drivers, though I'm not sure how they have implemented it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic