slick.driver.JdbcActionComponent
Run this Action transactionally.
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 with the given statement parameters.
Run this Action with the given statement parameters. Any unset parameter will use the current value. The following parameters can be set:
The JDBC ResultSetType
The JDBC ResultSetConcurrency
The JDBC ResultSetHoldability
A function which is run on every Statement
or PreparedStatement
directly after creating it. This can be used to set additional
statement parameters (e.g. setQueryTimeout
). When multuple
withStatementParameters
Actions are nested, all init functions
are run, starting with the outermost one.
The fetch size for all statements or 0 for the default.
Run this Action with the specified transaction isolation level.
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.
(jdbcActionExtensionMethods: StringAdd).self
(jdbcActionExtensionMethods: StringFormat).self
(jdbcActionExtensionMethods: ArrowAssoc[JdbcDriver.JdbcActionExtensionMethods[E, R, S]]).x
(Since version 2.10.0) Use leftOfArrow
instead
(jdbcActionExtensionMethods: Ensuring[JdbcDriver.JdbcActionExtensionMethods[E, R, S]]).x
(Since version 2.10.0) Use resultOfEnsuring
instead