Name
LocalTransaction
Synopsis
A LocalTransaction
is used by a client to delimit transaction
boundaries. A LocalTransaction
can be obtained using the
Connection.getLocalTransaction()
method. JCA provider support for
LocalTransactions
is optional.
public interface LocalTransaction { // Public Instance Methods public abstract void begin() throws ResourceException; public abstract void commit() throws ResourceException; public abstract void rollback() throws ResourceException; }
Returned By
javax.resource.cci.Connection.getLocalTransaction()
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.