in scala/dbc/statement
class Transaction

case class Transaction[ResultType](transactionBody: (Database) => ResultType, accessMode: Option[AccessMode], isolationLevel: Option[IsolationLevel])
extends Statement
with ScalaObject
with CaseClass

A statement that changes the status of the database.

Field Summary
  val accessMode: Option[AccessMode]
  val isolationLevel: Option[IsolationLevel]
  val transactionBody: (Database) => ResultType

Method Summary
  def execute(database: Database): Status[ResultType]
  def execute(database: Database, debug: Boolean): Status[ResultType]
  def sqlAbortString: String
  def sqlCommitString: String
  def sqlStartString: String
     A SQL-99 compliant string representation of the statement.

Methods inherited from java/lang/Object-class
clone, eq, equals, finalize, getClass, hashCode, ne, notify, notifyAll, synchronized, toString, wait, wait, wait

Methods inherited from scala/Any-class
!=, ==, asInstanceOf, isInstanceOf, match

Methods inherited from scala/CaseClass-class
caseArity, caseElement, caseName

Methods inherited from scala/ScalaObject-class
getScalaType

Field Detail

transactionBody

  val transactionBody: (Database) => ResultType

accessMode

  val accessMode: Option[AccessMode]

isolationLevel

  val isolationLevel: Option[IsolationLevel]
Method Detail

sqlStartString

  def sqlStartString: String
A SQL-99 compliant string representation of the statement.

sqlCommitString

  def sqlCommitString: String

sqlAbortString

  def sqlAbortString: String

execute

  def execute(database: Database): Status[ResultType]

execute

  def execute(database: Database, debug: Boolean): Status[ResultType]