Use this Session as the dynamicSession
for running the supplied thunk.
Use this Session as the dynamicSession
for running the supplied thunk.
Close this Session.
Close this Session.
Create a new Slick Session wrapping the same JDBC connection, but using the given values as defaults for resultSetType, resultSetConcurrency and resultSetHoldability.
Create a new Slick Session wrapping the same JDBC connection, but using the given values as defaults for resultSetType, resultSetConcurrency and resultSetHoldability.
Force an actual database session to be opened.
Force an actual database session to be opened. Slick sessions are lazy, so you do not get a real database connection until you need it or you call force() on the session.
Call this method within a withTransaction call to roll back the current transaction after withTransaction returns.
Call this method within a withTransaction call to roll back the current transaction after withTransaction returns.
A wrapper around the JDBC Connection's prepareInsertStatement method, that automatically closes the statement.
A wrapper around the JDBC Connection's prepareInsertStatement method, that automatically closes the statement.
A wrapper around the JDBC Connection's prepareInsertStatement method, that automatically closes the statement.
A wrapper around the JDBC Connection's prepareInsertStatement method, that automatically closes the statement.
A wrapper around the JDBC Connection's prepareStatement method, that automatically closes the statement.
A wrapper around the JDBC Connection's prepareStatement method, that automatically closes the statement.
A wrapper around the JDBC Connection's createStatement method, that automatically closes the statement.
A wrapper around the JDBC Connection's createStatement method, that automatically closes the statement.
Run the supplied function within a transaction.
Run the supplied function within a transaction. If the function throws an Exception or the session's rollback() method is called, the transaction is rolled back, otherwise it is commited when the function returns.
(baseSession: StringAdd).self
(baseSession: StringFormat).self
(baseSession: ArrowAssoc[BaseSession]).x
(Since version 2.10.0) Use leftOfArrow
instead
(baseSession: Ensuring[BaseSession]).x
(Since version 2.10.0) Use resultOfEnsuring
instead