be.SIRAPRISE.messages
Class StartSubTransactionMessage

java.lang.Object
  extended by be.SIRAPRISE.messages.ServerMessage
      extended by be.SIRAPRISE.messages.ServerInputMessage
          extended by be.SIRAPRISE.messages.StartSubTransactionMessage

public abstract class StartSubTransactionMessage
extends ServerInputMessage

Author:
Erwin Smout

Method Summary
 boolean isAutoCommit()
          Checks whether each individual statement in the transaction is to be committed automatically
 boolean isReadOnlyTransaction()
          Checks whether or not the new transaction is a read-only one, i.e. whether it will or will not attempt updates to the database
 
Methods inherited from class be.SIRAPRISE.messages.ServerMessage
getMessageTypeID, readMessage, sendMessage
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isReadOnlyTransaction

public final boolean isReadOnlyTransaction()
Checks whether or not the new transaction is a read-only one, i.e. whether it will or will not attempt updates to the database

Returns:
true if the new transaction is a read-only one, i.e. if it will not attempt updates to the database

isAutoCommit

public final boolean isAutoCommit()
Checks whether each individual statement in the transaction is to be committed automatically

Returns:
true if each individual statement in the transaction is to be committed automatically