A B C D E G H I N P S W 
All Classes All Packages

A

applicationLifecycle() - Method in interface play.db.DBComponents
 
asScala() - Method in interface play.db.ConnectionPool
 
asScala() - Method in class play.db.DefaultConnectionPool
 

B

bindings(Environment, Config) - Method in class play.db.DBModule
 

C

close(DataSource) - Method in interface play.db.ConnectionPool
Close the given data source.
close(DataSource) - Method in class play.db.DefaultConnectionPool
 
connectionPool() - Method in interface play.db.ConnectionPoolComponents
 
connectionPool() - Method in interface play.db.HikariCPComponents
 
ConnectionPool - Interface in play.db
Connection pool API for managing data sources.
ConnectionPoolComponents - Interface in play.db
A base for Java connection pool components.
create(String, Config, Environment) - Method in interface play.db.ConnectionPool
Create a data source with the given configuration.
create(String, Config, Environment) - Method in class play.db.DefaultConnectionPool
 
createFrom(String, String) - Static method in class play.db.Databases
Create a pooled database named "default" with the given driver and url.
createFrom(String, String, String) - Static method in class play.db.Databases
Create a pooled database with the given configuration.
createFrom(String, String, String, Map<String, ? extends Object>) - Static method in class play.db.Databases
Create a pooled database with the given configuration.
createFrom(String, String, Map<String, ? extends Object>) - Static method in class play.db.Databases
Create a pooled database named "default" with the given configuration.

D

database(String) - Method in interface play.db.DBComponents
 
databases() - Method in interface play.db.DBComponents
 
Databases - Class in play.db
Creation helpers for manually instantiating databases.
dbApi() - Method in interface play.db.DBComponents
 
DBComponents - Interface in play.db
Java DB components.
DBModule - Class in play.db
Injection module with default DB components.
DBModule() - Constructor for class play.db.DBModule
 
DBModule.NamedDatabaseProvider - Class in play.db
Inject provider for named databases.
DefaultConnectionPool - Class in play.db
Default delegating implementation of the connection pool API.
DefaultConnectionPool(ConnectionPool) - Constructor for class play.db.DefaultConnectionPool
 
DefaultDatabase - Class in play.db
Default delegating implementation of the database API.
DefaultDatabase(String, Config) - Constructor for class play.db.DefaultDatabase
Create a default HikariCP-backed database.
DefaultDatabase(String, Map<String, ? extends Object>) - Constructor for class play.db.DefaultDatabase
Create a default HikariCP-backed database.
DefaultDatabase(Database) - Constructor for class play.db.DefaultDatabase
 
DefaultDBApi - Class in play.db
Default delegating implementation of the DB API.
DefaultDBApi(DBApi) - Constructor for class play.db.DefaultDBApi
 

E

environment() - Method in interface play.db.DBComponents
 
environment() - Method in interface play.db.HikariCPComponents
 

G

get() - Method in class play.db.DBModule.NamedDatabaseProvider
 
getConnection() - Method in class play.db.DefaultDatabase
 
getConnection(boolean) - Method in class play.db.DefaultDatabase
 
getDatabase(String) - Method in class play.db.DefaultDBApi
 
getDatabases() - Method in class play.db.DefaultDBApi
 
getDataSource() - Method in class play.db.DefaultDatabase
 
getName() - Method in class play.db.DefaultDatabase
 
getUrl() - Method in class play.db.DefaultDatabase
 

H

HikariCPComponents - Interface in play.db
HikariCP Java components (for compile-time injection).

I

inMemory() - Static method in class play.db.Databases
Create an in-memory H2 database with name "default".
inMemory(String) - Static method in class play.db.Databases
Create an in-memory H2 database.
inMemory(String, String, Map<String, ? extends Object>) - Static method in class play.db.Databases
Create an in-memory H2 database.
inMemory(String, Map<String, ? extends Object>) - Static method in class play.db.Databases
Create an in-memory H2 database.
inMemory(String, Map<String, String>, Map<String, ? extends Object>) - Static method in class play.db.Databases
Create an in-memory H2 database.
inMemory(Map<String, ? extends Object>) - Static method in class play.db.Databases
Create an in-memory H2 database with name "default".
inMemoryWith(String, Object) - Static method in class play.db.Databases
Create an in-memory H2 database with name "default" and with extra configuration provided by the given entries.
inMemoryWith(String, Object, String, Object) - Static method in class play.db.Databases
Create an in-memory H2 database with name "default" and with extra configuration provided by the given entries.
inMemoryWith(String, Object, String, Object, String, Object) - Static method in class play.db.Databases
Create an in-memory H2 database with name "default" and with extra configuration provided by the given entries.

N

NamedDatabaseProvider(String) - Constructor for class play.db.DBModule.NamedDatabaseProvider
 

P

play.db - package play.db
Provides the JDBC database access API.

S

shutdown() - Method in class play.db.DefaultDatabase
 
shutdown() - Method in class play.db.DefaultDBApi
 

W

withConnection(boolean, ConnectionCallable<A>) - Method in class play.db.DefaultDatabase
 
withConnection(boolean, ConnectionRunnable) - Method in class play.db.DefaultDatabase
 
withConnection(ConnectionCallable<A>) - Method in class play.db.DefaultDatabase
 
withConnection(ConnectionRunnable) - Method in class play.db.DefaultDatabase
 
withTransaction(ConnectionCallable<A>) - Method in class play.db.DefaultDatabase
 
withTransaction(ConnectionRunnable) - Method in class play.db.DefaultDatabase
 
withTransaction(TransactionIsolationLevel, ConnectionCallable<A>) - Method in class play.db.DefaultDatabase
 
withTransaction(TransactionIsolationLevel, ConnectionRunnable) - Method in class play.db.DefaultDatabase
 
A B C D E G H I N P S W 
All Classes All Packages