|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Commitable
Defining how and when changes are commit to underlying persistence layer.
| Method Summary | |
|---|---|
void |
commit()
Writes all changes to underlying persistence layer - if such a layer is used by the implementation. |
void |
setAutocommit(boolean autocommit)
The default value is true. |
| Method Detail |
|---|
void commit()
throws ModelRuntimeException
ModelRuntimeException - if the commit could not be executedvoid setAutocommit(boolean autocommit)
autocommit - If true, all changes are immediately written to the underlying
persistence layer, if any is used.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||