public class Transaction extends Object
Constructor and Description |
---|
Transaction() |
Modifier and Type | Method and Description |
---|---|
static void |
init(DataAccessManager dataAccessManager)
Initializes the Transaction Object.
|
static boolean |
isRollbacked()
Method to determine whether a transaction has been rollbacked or not.
|
static boolean |
isStarted()
Method to determine whether a transaction is started or not.
|
static void |
popTransaction()
Pop stacked transaction and replace the existing one with that.
|
static void |
pushTransaction()
Push current transaction to a stack and make room for a new one.
|
public static void init(DataAccessManager dataAccessManager)
dataAccessManager
- the data access manager to be used to communicate with the database.public static void pushTransaction()
public static void popTransaction()
public static boolean isStarted()
public static boolean isRollbacked()
Copyright © 2016 WSO2 Inc. All Rights Reserved.