public class GenericStandaloneDB extends EmbeddedDB
EmbeddedDB.DBEngine, EmbeddedDB.ResultSetJob| Modifier and Type | Field and Description |
|---|---|
protected AtomicBoolean |
started |
allTables, databaseName, jdbcConnectionString, logger, password, username| Constructor and Description |
|---|
GenericStandaloneDB(String databaseName,
String username,
String password,
String jdbcConnectionString) |
| Modifier and Type | Method and Description |
|---|---|
DataSource |
getDataSource() |
EmbeddedDB.DBEngine |
getDBEngine() |
void |
initialize() |
void |
refreshTableNames() |
void |
start() |
void |
stop() |
cleanupAllTables, cleanupTable, execute, execute, executeQuery, executeScript, executeUpdate, getAllTables, getCmdLineConnectionString, getConnection, getDatabaseName, getJdbcConnectionString, getPassword, getPort, getUsernameprotected final AtomicBoolean started
public EmbeddedDB.DBEngine getDBEngine()
getDBEngine in class EmbeddedDBpublic void initialize()
throws IOException
initialize in class EmbeddedDBIOExceptionpublic void start()
throws IOException
start in class EmbeddedDBIOExceptionpublic void refreshTableNames()
throws IOException
refreshTableNames in class EmbeddedDBIOExceptionpublic DataSource getDataSource() throws IOException
getDataSource in class EmbeddedDBIOExceptionpublic void stop()
throws IOException
stop in class EmbeddedDBIOExceptionCopyright © 2010-2016. All Rights Reserved.