1 Reply Latest reply on Feb 18, 2004 10:34 AM by juha

    Reordering of resources in commit of XA transaction

    patrickbradley

      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