| Constructor and Description |
|---|
DefaultDBApi(play.api.db.DBApi dbApi) |
| Modifier and Type | Method and Description |
|---|---|
Database |
getDatabase(java.lang.String name)
Get database with given configuration name.
|
java.util.List<Database> |
getDatabases()
All configured databases.
|
void |
shutdown()
Shutdown all databases, releasing resources.
|
public java.util.List<Database> getDatabases()
DBApigetDatabases in interface DBApipublic Database getDatabase(java.lang.String name)
DBApigetDatabase in interface DBApiname - the configuration name of the database