This content has been marked as final.
Show 1 reply
-
1. Re: LocalTransaction and ManagedConnection.getConnection cal
adrian.brock Aug 4, 2003 2:59 PM (in response to pichler.mi)Interesting, the XA scenario which is
more explicit in the text does the opposite.
In the jboss connection manager, we actually create
something called a LocalXAResource
to wrap the local transaction.
This simplifies the code, because we only have to deal
with "XAResources" with suitable warnings when
an attempt is made to use it with other resource
managers in the same transaction.
The CRI is passed to either
ManagedConnectionFactory.createManagedConnection or
ManagedConnectionFactory.matchManagedConnections
before the connection is enlisted in the transaction.
Regards,
Adrian