Txn
An interface to a SQL database transaction, allowing you to run queries, create savepoints, or roll back the transaction.
Attributes
- Graph
-
- Supertypes
- Known subtypes
-
class Impl
Members list
Value members
Abstract methods
Rolls back any active Savepoints and then rolls back this Transaction
Rolls back any active Savepoints and then rolls back this Transaction
Attributes
Creates a SQL Savepoint that is active within the given block; automatically releases the savepoint if the block completes successfully and rolls it back if the block terminates with an exception, and allows you to roll back the savepoint manually via the DbApi.Savepoint parameter passed to that block
Creates a SQL Savepoint that is active within the given block; automatically releases the savepoint if the block completes successfully and rolls it back if the block terminates with an exception, and allows you to roll back the savepoint manually via the DbApi.Savepoint parameter passed to that block
Attributes
Inherited and Abstract methods
Attributes
- Inherited from:
- AutoCloseable
Converts the given query Q into a string. Useful for debugging and logging
Converts the given query Q into a string. Useful for debugging and logging
Attributes
- Inherited from:
- DbApi
Runs the given query Q and returns a value of type R
Runs a java.lang.String
(and any interpolated variables) and deserializes the result set into a Seq
of the given type R
Runs a java.lang.String
(and any interpolated variables) and deserializes the result set into a Seq
of the given type R
Attributes
- Inherited from:
- DbApi
Runs the given query Q and returns a Generator of values of type R. allow you to process the results in a streaming fashion without materializing the entire list of results in memory
Runs the given query Q and returns a Generator of values of type R. allow you to process the results in a streaming fashion without materializing the entire list of results in memory
Attributes
- Inherited from:
- DbApi
Runs a java.lang.String
(and any interpolated variables) and deserializes the result set into a streaming Generator
of the given type R
Runs a java.lang.String
(and any interpolated variables) and deserializes the result set into a streaming Generator
of the given type R
Attributes
- Inherited from:
- DbApi
Attributes
- Inherited from:
- DbApi
Attributes
- Inherited from:
- DbApi
Runs an java.lang.String
(and any interpolated variables) containing an UPDATE
or INSERT
query and returns the number of rows affected
Runs an java.lang.String
(and any interpolated variables) containing an UPDATE
or INSERT
query and returns the number of rows affected
Attributes
- Inherited from:
- DbApi