BoneCP components (for compile-time injection).
BoneCP runtime inject module.
BoneCP implementation of connection pool interface.
BoneCP implementation of connection pool interface.
Connection pool API for managing data sources.
DB API for managing application databases.
Inject provider for DB implementation of DB API.
Inject provider for DB implementation of DB API.
DB components (for compile-time injection).
DB runtime inject module.
Database API.
The generic database configuration.
The generic database configuration.
The driver
The jdbc URL
The username
The password
The JNDI name
Default implementation of the DB API.
Default implementation of the database API.
Default implementation of the database API. Provides driver registration and connection methods.
HikariCP components (for compile-time injection).
HikariCP config
HikariCP runtime inject module.
Inject provider for named databases.
Default implementation of the database API using a connection pool.
Creation helpers for manually instantiating databases.
Provides a high-level API for getting JDBC connections.
Provides a high-level API for getting JDBC connections.
For example:
val conn = DB.getConnection("customers")
Contains the JDBC database access API.
Example, retrieving a connection from the 'customers' datasource: