public final class CCILocalTransaction
extends java.lang.Object
implements javax.resource.cci.LocalTransaction
A CCILocalTransaction object is used to control the Transaction state of the ECI Connector. The objects methods can only be used however when no other transactions are in progress and then only if AutoCommit is not set to true on its Connection.
Access to the CCILocalTransaction object is provided exclusively through the ECIConnection.getLocalTransaction() method.
public void begin()
throws javax.resource.ResourceException
begin in interface javax.resource.cci.LocalTransactionjavax.resource.ResourceException - Thrown if the begin fails.public void commit()
throws javax.resource.ResourceException
commit in interface javax.resource.cci.LocalTransactionjavax.resource.ResourceException - Thrown if the commit fails.public void rollback()
throws javax.resource.ResourceException
rollback in interface javax.resource.cci.LocalTransactionjavax.resource.ResourceException - Thrown if the backout fails.