public class MySQLStandaloneDB extends GenericStandaloneDB
EmbeddedDB.DBEngine, EmbeddedDB.ResultSetJob| Modifier and Type | Field and Description |
|---|---|
protected DataSource |
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) |
MySQLStandaloneDB(String databaseName,
String username,
String password,
String jdbcConnectionString,
boolean useMariaDB) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCmdLineConnectionString() |
DataSource |
getDataSource() |
EmbeddedDB.DBEngine |
getDBEngine() |
void |
initialize() |
void |
refreshTableNames() |
start, stopcleanupAllTables, cleanupTable, createHikariDataSource, execute, execute, executeQuery, executeScript, executeUpdate, getAllTables, getConnection, getDatabaseName, getJdbcConnectionString, getPassword, getPort, getUsername, useConnectionPoolingprotected DataSource dataSource
public MySQLStandaloneDB(String databaseName)
public MySQLStandaloneDB(String databaseName, String username, String password, String jdbcConnectionString)
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-2017. All Rights Reserved.