Close this Session.
Close this Session.
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.
(unmanagedSession: StringAdd).self
(unmanagedSession: StringFormat).self
Use this Session as the dynamicSession
for running the supplied thunk.
Use this Session as the dynamicSession
for running the supplied thunk.
(Since version 3.0) Use the new Action-based API instead
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.
(Since version 3.0) Use the new Action-based API instead
(unmanagedSession: ArrowAssoc[UnmanagedSession]).x
(Since version 2.10.0) Use leftOfArrow
instead
(unmanagedSession: Ensuring[UnmanagedSession]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
A JDBC Session which is not managed by Slick. You can use this to wrap an existing JDBC Connection. Override 'database' and 'performRollback' as needed.
(Since version 3.0) Use the new Action-based API instead