Deprecated
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Connection | |
| pack-priv DataSourceImpl | |
| public static boolean | |
| pack-priv Vector | |
| pack-priv boolean | |
| pack-priv static Class | |
| pack-priv int | |
| public static final int | STATUS_ACTIVE
Static constants |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | commit()
Implements jakarta. |
| public void | |
| private void | |
| public boolean | delistResource(XAResource
The XAResource object associated with the resource
(connection). xaresource, int One of the values of TMSUCCESS, TMSUSPEND, or TMFAIL. i)Implements jakarta. |
| public boolean | enlistResource(XAResource
The XAResource object associated with the resource
(connection). xaresource)Implements jakarta. |
| public Connection | |
| public int | getStatus()
Implements jakarta. |
| public void | |
| public void | registerSynchronization(Synchronization
The Synchronization object for the transaction associated
with the target object. synchronization)Implements jakarta. |
| public void | rollback()
Implements jakarta. |
| public void | |
| public void | setRollbackOnly()
Implements jakarta. |
| connection | back to summary |
|---|---|
| pack-priv Connection connection | |
| dataSource | back to summary |
|---|---|
| pack-priv DataSourceImpl dataSource | |
| DUMP_AFTER_COMPLETION_ERRORS | back to summary |
|---|---|
| public static boolean DUMP_AFTER_COMPLETION_ERRORS | |
| listeners | back to summary |
|---|---|
| pack-priv Vector<E> listeners | |
| markedForRollback | back to summary |
|---|---|
| pack-priv boolean markedForRollback | |
| proxyClass | back to summary |
|---|---|
| pack-priv static Class<?> proxyClass | |
| status | back to summary |
|---|---|
| pack-priv int status | |
| STATUS_ACTIVE | back to summary |
|---|---|
| public static final int STATUS_ACTIVE Static constants | |
| STATUS_COMMITTED | back to summary |
|---|---|
| public static final int STATUS_COMMITTED | |
| STATUS_COMMITTING | back to summary |
|---|---|
| public static final int STATUS_COMMITTING | |
| STATUS_MARKED_ROLLBACK | back to summary |
|---|---|
| public static final int STATUS_MARKED_ROLLBACK | |
| STATUS_NO_TRANSACTION | back to summary |
|---|---|
| public static final int STATUS_NO_TRANSACTION | |
| STATUS_PREPARED | back to summary |
|---|---|
| public static final int STATUS_PREPARED | |
| STATUS_PREPARING | back to summary |
|---|---|
| public static final int STATUS_PREPARING | |
| STATUS_ROLLEDBACK | back to summary |
|---|---|
| public static final int STATUS_ROLLEDBACK | |
| STATUS_ROLLING_BACK | back to summary |
|---|---|
| public static final int STATUS_ROLLING_BACK | |
| STATUS_UNKNOWN | back to summary |
|---|---|
| public static final int STATUS_UNKNOWN | |
| TransactionImpl | back to summary |
|---|---|
| public TransactionImpl() | |
| cleanup | back to summary |
|---|---|
| public void cleanup() | |
| commit | back to summary |
|---|---|
| public void commit() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SecurityException, IllegalStateException, SystemException Implements jakarta. Doc from jakarta. Complete the transaction represented by this Transaction object.
| |
| commitConnection | back to summary |
|---|---|
| public void commitConnection() throws SQLException | |
| debug | back to summary |
|---|---|
| private void debug(String s) | |
| delistResource | back to summary |
|---|---|
| public boolean delistResource(XAResource xaresource, int i) throws IllegalStateException, SystemException Implements jakarta. Doc from jakarta. Disassociate the resource specified from the transaction associated with the target Transaction object.
| |
| enlistResource | back to summary |
|---|---|
| public boolean enlistResource(XAResource xaresource) throws RollbackException, IllegalStateException, SystemException Implements jakarta. Doc from jakarta. Enlist the resource specified with the transaction associated with the target Transaction object.
| |
| getConnection | back to summary |
|---|---|
| public Connection getConnection(DataSourceImpl ds, String user, String password) throws SQLException | |
| getStatus | back to summary |
|---|---|
| public int getStatus() throws SystemException Implements jakarta. Doc from jakarta. Obtain the status of the transaction associated with the target Transaction object.
| |
| invokeAfterCompletion | back to summary |
|---|---|
| public void invokeAfterCompletion() | |
| registerSynchronization | back to summary |
|---|---|
| public void registerSynchronization(Synchronization synchronization) throws RollbackException, IllegalStateException, SystemException Implements jakarta. Doc from jakarta. Register a synchronization object for the transaction currently associated with the target object. The transction manager invokes the beforeCompletion method prior to starting the two-phase transaction commit process. After the transaction is completed, the transaction manager invokes the afterCompletion method.
| |
| rollback | back to summary |
|---|---|
| public void rollback() throws IllegalStateException, SystemException Implements jakarta. Doc from jakarta. Rollback the transaction represented by this Transaction object.
| |
| rollbackConnection | back to summary |
|---|---|
| public void rollbackConnection() throws SQLException | |
| setRollbackOnly | back to summary |
|---|---|
| public void setRollbackOnly() throws IllegalStateException, SystemException Implements jakarta. Doc from jakarta. Modify the transaction associated with the target object such that the only possible outcome of the transaction is to roll back the transaction.
| |