Name
LocalTransaction
Synopsis
A LocalTransaction
represents transaction boundaries that are internal
to the resource adapter implementation. These transactions are local
to the underlying resource, not managed by an external transaction
manager. External, distributed transaction management support is
provided through the Java Transacation API (JTA). Support for
LocalTransactions
by resource adapter implementations 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
ManagedConnection.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.