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