Class TransactionEntry
java.lang.Object
org.wso2.carbon.database.utils.jdbc.TransactionEntry
Class that keeps the states of a transaction.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDecrement the transaction depth by one to notice the remaining levels of a transaction.booleanintvoidIncrement the transaction depth by one to store the level of a transaction.voidsetAutoCommitState(boolean autoCommitState) voidsetConnection(Connection connection)
-
Constructor Details
-
TransactionEntry
public TransactionEntry()
-
-
Method Details
-
getConnection
-
setConnection
-
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)
-