public interface LocalTransaction
LocalTransaction
interface provides support for transactions
that are managed internal to IMS, and do not require an external transaction
manager. A LocalTransaction
is used if an application wants to
manage its own transaction semantics or have local transaction semantics.
A LocalTransaction
is scoped to a particular PSB
instance.
Modifier and Type | Method and Description |
---|---|
void |
begin()
Begin a local transaction
|
void |
commit()
Commit a local transaction
|
void |
rollback()
Rollback a local transaction
|
void begin() throws com.ibm.ims.dli.NotSupportedException, DLIException
com.ibm.ims.dli.NotSupportedException
- if the operation is not supportedDLIException
- generic exception if the operation failsvoid commit() throws com.ibm.ims.dli.NotSupportedException, DLIException
com.ibm.ims.dli.NotSupportedException
- if the operation is not supportedDLIException
- generic exception if the operation failsvoid rollback() throws com.ibm.ims.dli.NotSupportedException, DLIException
com.ibm.ims.dli.NotSupportedException
- if the operation is not supportedDLIException
- generic exception if the operation fails(c) Copyright IBM Corporation 2008, 2017.