public class PostgreSQLStandaloneDB extends GenericStandaloneDB
EmbeddedDB.DBEngine, EmbeddedDB.ResultSetJob| Modifier and Type | Field and Description |
|---|---|
protected org.postgresql.ds.PGSimpleDataSource |
dataSource |
startedallTables, databaseName, jdbcConnectionString, logger, password, username| Constructor and Description |
|---|
PostgreSQLStandaloneDB(String databaseName,
String username,
String password) |
PostgreSQLStandaloneDB(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, createHikariDataSource, execute, execute, executeQuery, executeScript, executeUpdate, getAllTables, getConnection, getDatabaseName, getJdbcConnectionString, getPassword, getPort, getUsername, useConnectionPoolingpublic PostgreSQLStandaloneDB(String databaseName, String username, String password)
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.