DefaultLocalBootablepublic interface LocalBootable
| Modifier and Type | Method | Description |
|---|---|---|
DatabaseInterface |
boot(DBConfig config) |
Boots the database with the given configuration.
|
boolean |
checkExists(DBConfig config) |
Attempts to test if the database exists or not.
|
DatabaseInterface |
connectToJVM() |
Connects this interface to the database currently running in this JVM.
|
DatabaseInterface |
create(java.lang.String username,
java.lang.String password,
DBConfig config) |
Attempts to create a new database system with the given name, and the
given username/password as the admin user for the system.
|
boolean |
isBooted() |
Returns true if there is a database currently booted in the current
JVM.
|
DatabaseInterface create(java.lang.String username, java.lang.String password, DBConfig config) throws java.sql.SQLException
config - the configuration variables.java.sql.SQLExceptionDatabaseInterface boot(DBConfig config) throws java.sql.SQLException
config - the configuration variables.java.sql.SQLExceptionboolean checkExists(DBConfig config) throws java.sql.SQLException
config - the configuration variables.java.sql.SQLExceptionboolean isBooted()
throws java.sql.SQLException
java.sql.SQLExceptionDatabaseInterface connectToJVM() throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2018. All rights reserved.