public interface Transaction
| Modifier and Type | Method and Description |
|---|---|
void |
begin()
Start the transaction
|
void |
commit()
Complete the transaction by commiting the changes
|
boolean |
isActive()
Check whether the transaction is active, that is, started and not
completed.
|
void |
rollback()
Complete the transaction by discarding the changes
|
void begin()
TransactionException - if the transaction cannot be startedvoid commit()
TransactionException - if the transaction cannot be committedvoid rollback()
TransactionException - if the transaction cannot be rollbackedboolean isActive()
true if the transaction is active, false otherwise.
Copyright (C) 2014-2016, Center for Open Middleware