|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TransactionInterface
This new interface should actually be in com.metamatrix.common.connection.
| Method Summary | |
|---|---|
void |
close()
Return whether this transaction is readonly. |
void |
commit()
Make all changes made during this transaction's lifetime and release any data source locks currently held by the associated Connection. |
boolean |
isClosed()
Return whether this transaction is readonly. |
boolean |
isReadonly()
Return whether this transaction is readonly. |
void |
rollback()
Drops all changes made during this transaction's lifetime and release any data source locks currently held by the associated Connection. |
| Method Detail |
|---|
void commit()
throws ManagedConnectionException
ManagedConnectionException - if an error occurred within or during communication with the associated connection.
void rollback()
throws ManagedConnectionException
Calling this method on a read-only transaction is unneccessary (and discouraged, since the implementation does nothing in that case anyway).
ManagedConnectionException - if an error occurred within or during communication with the associated connection.boolean isReadonly()
boolean isClosed()
void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||