9 Replies Latest reply on Feb 23, 2004 5:11 AM by Ulf Schroeter

    Reordering of resources in commit of XA transaction

    patrickbradley Newbie

      If I have a bunch of XA resources and one non-XA resource, can I use them in an XA transaction? Will JBoss reorder the resources so that the non-XA resource is committed at the end of the first phase?

      Here's an example:
      Resource1: XA
      Resource2: non-XA
      Resource3: XA

      Commit does the following:
      - Prepare Resource1
      - Prepare Resource3
      - Commit Resource2 (1-phase)
      - Commit Resource1
      - Commit Resource3