Class PostgreSQLStandaloneDB
- java.lang.Object
-
- org.killbill.commons.embeddeddb.EmbeddedDB
-
- org.killbill.commons.embeddeddb.GenericStandaloneDB
-
- org.killbill.commons.embeddeddb.postgresql.PostgreSQLStandaloneDB
-
public class PostgreSQLStandaloneDB extends GenericStandaloneDB
Delegates to a real PostgreSQL database. This can be used for debugging.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.killbill.commons.embeddeddb.EmbeddedDB
EmbeddedDB.DBEngine, EmbeddedDB.ResultSetJob
-
-
Field Summary
-
Fields inherited from class org.killbill.commons.embeddeddb.GenericStandaloneDB
started
-
Fields inherited from class org.killbill.commons.embeddeddb.EmbeddedDB
allTables, databaseName, dataSource, jdbcConnectionString, logger, password, username
-
-
Constructor Summary
Constructors Constructor Description PostgreSQLStandaloneDB(String databaseName, String username, String password)PostgreSQLStandaloneDB(String databaseName, String username, String password, String jdbcConnectionString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCmdLineConnectionString()EmbeddedDB.DBEnginegetDBEngine()voidinitialize()voidrefreshTableNames()-
Methods inherited from class org.killbill.commons.embeddeddb.GenericStandaloneDB
start, stop
-
Methods inherited from class org.killbill.commons.embeddeddb.EmbeddedDB
cleanupAllTables, cleanupTable, createHikariDataSource, execute, execute, executeQuery, executeScript, executeUpdate, getAllTables, getConnection, getDatabaseName, getDataSource, getJdbcConnectionString, getPassword, getPort, getUsername, setDataSource, useConnectionPooling
-
-
-
-
Method Detail
-
getDBEngine
public EmbeddedDB.DBEngine getDBEngine()
- Overrides:
getDBEnginein classGenericStandaloneDB
-
initialize
public void initialize() throws IOException, SQLException- Overrides:
initializein classGenericStandaloneDB- Throws:
IOExceptionSQLException
-
refreshTableNames
public void refreshTableNames() throws IOException- Overrides:
refreshTableNamesin classGenericStandaloneDB- Throws:
IOException
-
getCmdLineConnectionString
public String getCmdLineConnectionString()
- Overrides:
getCmdLineConnectionStringin classEmbeddedDB
-
-