|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.tamino.db.api.connection.TTransactionParameters
public class TTransactionParameters
TTransactionParameters is the collection of the transactional parameters used for either the connection or in a limited way for the accessors.
Constructor Summary | |
---|---|
TTransactionParameters()
Initializes the transactional parameters, so that it starts in default mode for all tamino transaction modes. |
Method Summary | |
---|---|
TIsolationDegree |
getIsolationDegree()
Gets the isolation degree. |
TLockMode |
getLockMode()
Gets the lock mode. |
TLockwaitMode |
getLockwaitMode()
Gets the current lockwait mode A 'null' value represents the Tamino default. |
boolean |
isGiven()
Indicates if the transaction parameters are still in its inital state. |
void |
reset()
Resets the current tranaction parameters. |
void |
setIsolationDegree(TIsolationDegree isolationDegree)
Sets the isolation degree. |
void |
setLockMode(TLockMode lockMode)
Sets the lock mode. |
void |
setLockwaitMode(TLockwaitMode lockwaitMode)
Sets the lockwait mode for a transaction. |
java.lang.String |
toString()
Writes the current transaction parameters to a String. |
void |
writeForFirstCommandInTransaction(TCommandStatement commandStatement)
Writes the current transactional parameters which are valid for the first command in a transaction to the given commandStatement. |
void |
writeTo(TCommandStatement commandStatement)
Writes all current transactional parameters to the given commandStatement. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TTransactionParameters()
Method Detail |
---|
public void writeTo(TCommandStatement commandStatement)
commandStatement
- gets the current transactional parameters.public void writeForFirstCommandInTransaction(TCommandStatement commandStatement)
commandStatement
- gets the current transactional parameters.public void setLockwaitMode(TLockwaitMode lockwaitMode)
lockwaitMode
- the lockwait mode to be set, 'null' for Tamino default.public TLockwaitMode getLockwaitMode()
public void setIsolationDegree(TIsolationDegree isolationDegree)
isolationDegree
- the isolation degree to be set, 'null' for Tamino default.public TIsolationDegree getIsolationDegree()
public void setLockMode(TLockMode lockMode)
lockMode
- the lock mode to be set, 'null' for Tamino default.public TLockMode getLockMode()
public boolean isGiven()
public java.lang.String toString()
toString
in class java.lang.Object
public void reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |