|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DbTransaction
The interface for a database transaction.
| Method Summary | |
|---|---|
void |
abort()
Aborts the transaction. |
void |
commit()
Commits the transaction. |
void |
prepare(byte[] gid)
Initiates the first phase of a two-phase commit. |
| Method Detail |
|---|
void prepare(byte[] gid)
gid - the global transaction ID, which must be at least 128 bytes
DbDatabaseException - if an unexpected database problem occursvoid commit()
DbDatabaseException - if an unexpected database problem occursvoid abort()
DbDatabaseException - if an unexpected database problem occurs
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||