Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.6.0)

E17060-03


oracle.odi.core.persistence.transaction
Interface ITransactionStatus


public interface ITransactionStatus

Represents the status of a transaction.

Since:
11.1.1.3.0

Method Summary
 boolean isCompleted()
          Return whether this transaction is completed, that is, whether it has already been committed or rolled back.
 boolean isNewTransaction()
          Return whether the present transaction is new (else participating in an existing transaction, or potentially not running in an actual transaction in the first place).
 boolean isRollbackOnly()
          Return whether the transaction has been marked as rollback-only (either by the application or by the transaction infrastructure).
 void setRollbackOnly()
          Set the transaction rollback-only.

 

Method Detail

isCompleted

boolean isCompleted()
Return whether this transaction is completed, that is, whether it has already been committed or rolled back.
Returns:
true if completed, false otherwise

isNewTransaction

boolean isNewTransaction()
Return whether the present transaction is new (else participating in an existing transaction, or potentially not running in an actual transaction in the first place).
Returns:
true if new transaction, false otherwise

isRollbackOnly

boolean isRollbackOnly()
Return whether the transaction has been marked as rollback-only (either by the application or by the transaction infrastructure).
Returns:
true if marked as rollback only, false otherwise

setRollbackOnly

void setRollbackOnly()
Set the transaction rollback-only.

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.6.0)

E17060-03


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.