Class JdbcDatabaseWrapper
java.lang.Object
liquibase.extension.testing.testsystem.wrapper.DatabaseWrapper
liquibase.extension.testing.testsystem.wrapper.JdbcDatabaseWrapper
Implementation of
DatabaseWrapper for databases that are connected to via a JDBC url and are not "started" in a traditional sense.-
Constructor Details
-
JdbcDatabaseWrapper
- Throws:
SQLException
-
-
Method Details
-
describe
Description copied from class:DatabaseWrapperDescribes the configuration of this wrapper. Used in outputting to user how this connection is configured.- Specified by:
describein classDatabaseWrapper
-
start
Description copied from class:DatabaseWrapperStart the database if possible and ensure it can be connected to. If the database is managed externally, just ensure it can be connected to.- Specified by:
startin classDatabaseWrapper- Throws:
Exception
-
stop
Description copied from class:DatabaseWrapperStop the database if possible. If the database is managed externally, do not actually stop it.- Specified by:
stopin classDatabaseWrapper- Throws:
Exception
-
getUsername
- Specified by:
getUsernamein classDatabaseWrapper
-
getPassword
-
getUrl
- Specified by:
getUrlin classDatabaseWrapper
-