| org.enhydra.jdbc.standard.StandardXAConnection org.enhydra.jdbc.instantdb.IdbXAConnection
IdbXAConnection | final public class IdbXAConnection extends StandardXAConnection (Code) | | Provides and InstantDB specific instance of StandardXAConnection. Almost all of
the required functionality is provided curtesy of the generic super class
which looks after most of the transaction state management. InstantDB's
own Transaction object is informed that it is part of a global transaction
and looks after the detail thereafter.
|
Method Summary | |
public boolean | isSameRM(XAResource xares) Checks to see if two XAResource objects correspond to the
same Resource Manager. | public int | prepare(Xid xid) Prepares to perform a commit. | public void | start(Xid xid, int flags) Associates this XAConnection with a global transaction. |
isSameRM | public boolean isSameRM(XAResource xares) throws XAException(Code) | | Checks to see if two XAResource objects correspond to the
same Resource Manager. This can go one better than its
super class as it can actually check the InstantDB database
objects.
|
start | public void start(Xid xid, int flags) throws XAException(Code) | | Associates this XAConnection with a global transaction. This
is the only method which can associate the current connection
with a global transaction. It acts only on the current
connection which must have been previously established using
getConnection.
|
|
|