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.
Methods inherited from java/lang/Object-class
|
clone, eq, equals, finalize, getClass, hashCode, ne, notify, notifyAll, synchronized, toString, wait, wait, wait |
transactionBody
val transactionBody: (Database) => ResultType
accessMode
val accessMode: Option[AccessMode]
isolationLevel
val isolationLevel: Option[IsolationLevel]
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]