users@glassfish.java.net

Re: XA transaction optimized into 1 phase commit transaction ...

From: <forums_at_java.net>
Date: Mon, 4 Apr 2011 09:50:43 -0500 (CDT)

Hi,

I understand that this is the default behavior, but in this case, the
XA transaction actually uses just one database under the hood. I was hoping
that the transaction manager somehow figures this (why else is there a
XAResource.isSameRM() method ?) and uses the same underlying JDBC connection.
I think I will have to do a test with a 'logXaCommands' setting on MySQL to
monitor what actually happens :).

Mircea.

 


--
[Message sent by forum member 'crocodilu']
View Post: http://forums.java.net/node/788290