Class TransactionEntry

java.lang.Object
org.wso2.carbon.database.utils.jdbc.TransactionEntry

public class TransactionEntry extends Object
Class that keeps the states of a transaction.
  • Constructor Details

    • TransactionEntry

      public TransactionEntry()
  • Method Details

    • getConnection

      public Connection getConnection()
    • setConnection

      public void setConnection(Connection connection)
    • getTransactionDepth

      public int getTransactionDepth()
    • incrementTransactionDepth

      public void incrementTransactionDepth()
      Increment the transaction depth by one to store the level of a transaction.
    • decrementTransactionDepth

      public void decrementTransactionDepth()
      Decrement the transaction depth by one to notice the remaining levels of a transaction.
    • getAutoCommitState

      public boolean getAutoCommitState()
    • setAutoCommitState

      public void setAutoCommitState(boolean autoCommitState)