One of you transaction gurus may know the answer:

If I enlist 2 (or more) XAResources into a JTA transaction.

Transaction tx = tm.getTransaction();
tx.enlistResource(res1);
tx.enlistResource(res2);

Then I rollback the transaction, which causes rollback() to be called on each of the XAResources.

Are there any guarantees on the order in which rollback() is called on the resources, or is this up to the transaction manager implementation?

E.g. is rollback always called in the same order the resources were enlisted?





-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to