play.api.db
Contains the JDBC database access API.
Example, retrieving a connection from the 'customers' datasource:
val conn = db.getConnection("customers")
Attributes
Members list
Type members
Classlikes
Connection pool API for managing data sources.
Connection pool API for managing data sources.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class HikariCPConnectionPool
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ConnectionPool.type
Inject provider for DB implementation of DB API.
Inject provider for DB implementation of DB API.
Attributes
- Supertypes
DB components (for compile-time injection).
DB components (for compile-time injection).
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
DB runtime inject module.
DB runtime inject module.
Attributes
- Supertypes
The generic database configuration.
Attributes
- Companion
- class
- Supertypes
- Self type
-
DatabaseConfig.type
Creation helpers for manually instantiating databases.
Creation helpers for manually instantiating databases.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Databases.type
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DefaultDBApi.type
Default implementation of the database API. Provides driver registration and connection methods.
Default implementation of the database API. Provides driver registration and connection methods.
Attributes
- Supertypes
- Known subtypes
-
class PooledDatabase
HikariCP components (for compile-time injection).
HikariCP components (for compile-time injection).
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- object
- Supertypes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
HikariCP runtime inject module.
HikariCP runtime inject module.
Attributes
- Supertypes
Inject provider for named databases.
Inject provider for named databases.
Attributes
- Supertypes
Default implementation of the database API using a connection pool.
Default implementation of the database API using a connection pool.
Attributes
- Supertypes