public interface TopiaTransaction
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
Applies all the modifications made to this context on the persistence device.
|
void |
rollback()
Cancels all the modifications made to this context, coming back to the state when this transaction has been
created (using
TopiaApplicationContext.newPersistenceContext()) or previously rollbacked (using the
current method). |
void commit()
TopiaTransaction.void rollback()
TopiaApplicationContext.newPersistenceContext()) or previously rollbacked (using the
current method).
Once rollback is done, a new internal transaction is started, but you do not have to get a new instance of
TopiaTransaction.Copyright © 2004–2014 CodeLutin. All rights reserved.