JdbcActionExtensionMethods
Attributes
- Source:
- JdbcActionComponent.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Run this Action transactionally. This does not guarantee failures to be atomic in the
presence of error handling combinators. If multiple transactionally combinators are
nested, only the outermost one will be backed by an actual database transaction. Depending
on the outcome of running the Action it surrounds, the transaction is committed if the
wrapped Action succeeds, or rolled back if the wrapped Action fails. When called on a
slick.dbio.SynchronousDatabaseAction, this combinator gets fused into the
action.
Run this Action transactionally. This does not guarantee failures to be atomic in the
presence of error handling combinators. If multiple transactionally combinators are
nested, only the outermost one will be backed by an actual database transaction. Depending
on the outcome of running the Action it surrounds, the transaction is committed if the
wrapped Action succeeds, or rolled back if the wrapped Action fails. When called on a
slick.dbio.SynchronousDatabaseAction, this combinator gets fused into the
action.
Attributes
- Source:
- JdbcActionComponent.scala
Run this Action with the given statement parameters. Any unset parameter will use the current value. The following parameters can be set:
Run this Action with the given statement parameters. Any unset parameter will use the current value. The following parameters can be set:
Attributes
- fetchSize
The fetch size for all statements or 0 for the default.
- rsConcurrency
The JDBC
ResultSetConcurrency- rsHoldability
The JDBC
ResultSetHoldability- rsType
The JDBC
ResultSetType- statementInit
A function which is run on every
StatementorPreparedStatementdirectly after creating it. This can be used to set additional statement parameters (e.g.setQueryTimeout). When multiplewithStatementParametersActions are nested, all init functions are run, starting with the outermost one.- Source:
- JdbcActionComponent.scala
Run this Action with the specified transaction isolation level. This should be used around
the outermost transactionally Action. The semantics of using it inside a transaction are
database-dependent. It does not create a transaction by itself but it pins the session.
Run this Action with the specified transaction isolation level. This should be used around
the outermost transactionally Action. The semantics of using it inside a transaction are
database-dependent. It does not create a transaction by itself but it pins the session.
Attributes
- Source:
- JdbcActionComponent.scala