geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <>
Subject Re: [jira] Commented: (GERONIMO-161) LocalXAResourceInsertionInte rceptor could use XAResource implementation
Date Tue, 06 Apr 2004 23:15:06 GMT
On Tue, Apr 06, 2004 at 04:25:15PM -0300, Hamilton Verissimo de Oliveira (Engenharia - SPO)
> -----Mensagem original-----
> De: David Jencks []
> > In other words,  if an adapter supports getXAResource it MUST support 
> > getLocalTransaction.
> Didn't know that. Thanks.
> Maybe the semantic of useLocalTransactions is missing. I think
> useLocalTransactions means that one won't bother to pass transaction
> contexts to remote machines. Thats it. On the other hand with or without
> useLocalTransactions flag set, the transaction should use the XAResource
> implemented by the datasource - when available. If its not available, no
> problem to create a wrapper using setAutocommit/et al.

LocalTransactions are in the J2CA spec explicitly to avoid the
overhead of XA and distributed transactions when it is known in
advance no other datasources are involved.

David Blevins

View raw message