The context object passed to database actions by the execution engine.
A special DatabaseActionContext for streaming execution.
A special DatabaseActionContext for streaming execution.
The type of the context used for running SynchronousDatabaseActions
The type of database objects used by this backend.
A database instance to which connections can be created.
The type of the database factory used by this backend.
Factory methods for creating Database
instances.
The type of session objects used by this backend.
A logical session of a Database
.
A logical session of a Database
. The underlying database connection is created lazily on demand.
The type of the context used for streaming SynchronousDatabaseActions
The database factory
Create a Database instance through Typesafe Config.
Create a Database instance through Typesafe Config.
The supported config keys are backend-specific. This method is used by DatabaseConfig
.
The Config
object to read from.
The path in the configuration file for the database configuration, or an empty
string for the top level of the Config
object.
Run a block of code with the specified Session
bound to the thread-local dynamicSession
.
Run a block of code with the specified Session
bound to the thread-local dynamicSession
.
(Since version 3.0) Use the new Action-based API instead
Backend for the basic database and session handling features. Concrete backends like
JdbcBackend
extend this type and provide concrete types forDatabase
,DatabaseFactory
andSession
.