|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TLocalTransaction
TLocalTransaction represents a local transaction context. A TLocalTransaction instance provides operations needed to demarcate a local transaction. A local transaction can either be terminated by a commit or rollback. If a TLocalTransaction instance is released it can no longer be used and then stays invalid until it is garbage collected.
Method Summary | |
---|---|
void |
commit()
Performs a commit on the local transaction instance. |
void |
rollback()
Performs a rollback on the local transaction instance. |
Methods inherited from interface com.softwareag.tamino.db.api.connection.TTransaction |
---|
getLocale, setLocale |
Method Detail |
---|
void commit() throws TTransactionException
TTransactionException
- signals an error while attempting the commit operation.void rollback() throws TTransactionException
TTransactionException
- signals an error while attempting the rollback operation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |