Cancels all the modifications made to this context, coming back to the
state on the last beginTransaction.
Method Detail
commit
void commit()
Applies all the modifications made to this context on the persistence
device. Once commit is done, a new transaction is started.
rollback
void rollback()
Cancels all the modifications made to this context, coming back to the
state on the last beginTransaction. Once rollback is done, a new
transaction is started.