be.SIRAPRISE.messages
Class StartSubTransactionMessageType
java.lang.Object
be.SIRAPRISE.messages.ServerMessageType
be.SIRAPRISE.messages.ServerInputMessageType
be.SIRAPRISE.messages.StartSubTransactionMessageType
- Direct Known Subclasses:
- StartSubTransactionMessageTypeV1_0
public abstract class StartSubTransactionMessageType
- extends ServerInputMessageType
The StartSubTransactionMessageType is the type of message sent by a client to a SIRA_PRISE server if that client wants to establish a transaction savepoint and start a "nested" transaction within the currently running transaction.
- Author:
- Erwin Smout
Method Summary |
abstract StartSubTransactionMessage |
message(boolean readOnlyTransaction,
boolean autoCommit)
Gets a StartSubTransactionMessage of this MessageType's version, holding the given data |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MESSAGETYPEID
public static final int MESSAGETYPEID
- Comment for
MESSAGETYPEID
- See Also:
- Constant Field Values
message
public abstract StartSubTransactionMessage message(boolean readOnlyTransaction,
boolean autoCommit)
- Gets a StartSubTransactionMessage of this MessageType's version, holding the given data
- Parameters:
readOnlyTransaction
- flag indicating whether or not the new transaction is a read-only one, i.e. whether it will or will not attempt updates to the databaseautoCommit
- flag indicating whether or not the server may automatically commit each individual statement executed in this transaction.
- Returns:
- StartTransactionMessage a StartTransactionMessage of this MessageType's version, holding the given data