public class MySQLStandaloneDB extends GenericStandaloneDB
EmbeddedDB.DBEngine, EmbeddedDB.ResultSetJob| Modifier and Type | Field and Description |
|---|---|
protected com.mysql.jdbc.jdbc2.optional.MysqlDataSource |
dataSource |
startedallTables, databaseName, jdbcConnectionString, logger, password, username| Constructor and Description |
|---|
MySQLStandaloneDB(String databaseName) |
MySQLStandaloneDB(String databaseName,
String username,
String password) |
MySQLStandaloneDB(String databaseName,
String username,
String password,
String jdbcConnectionString) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCmdLineConnectionString() |
DataSource |
getDataSource() |
EmbeddedDB.DBEngine |
getDBEngine() |
void |
initialize() |
void |
refreshTableNames() |
start, stopcleanupAllTables, cleanupTable, execute, execute, executeQuery, executeScript, executeUpdate, getAllTables, getConnection, getDatabaseName, getJdbcConnectionString, getPassword, getUsernamepublic MySQLStandaloneDB(String databaseName)
public EmbeddedDB.DBEngine getDBEngine()
getDBEngine in class GenericStandaloneDBpublic void initialize()
throws IOException
initialize in class GenericStandaloneDBIOExceptionpublic void refreshTableNames()
throws IOException
refreshTableNames in class GenericStandaloneDBIOExceptionpublic DataSource getDataSource() throws IOException
getDataSource in class GenericStandaloneDBIOExceptionpublic String getCmdLineConnectionString()
getCmdLineConnectionString in class EmbeddedDBCopyright © 2010-2014. All Rights Reserved.