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 Summary
Constructors Constructor Description TransactionEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecrementTransactionDepth()Decrement the transaction depth by one to notice the remaining levels of a transaction.booleangetAutoCommitState()ConnectiongetConnection()intgetTransactionDepth()voidincrementTransactionDepth()Increment the transaction depth by one to store the level of a transaction.voidsetAutoCommitState(boolean autoCommitState)voidsetConnection(Connection connection)
-
-
-
Method Detail
-
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)
-
-