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:DatabaseWrapper
Describes the configuration of this wrapper. Used in outputting to user how this connection is configured.- Specified by:
describe
in classDatabaseWrapper
-
start
Description copied from class:DatabaseWrapper
Start 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:
start
in classDatabaseWrapper
- Throws:
Exception
-
stop
Description copied from class:DatabaseWrapper
Stop the database if possible. If the database is managed externally, do not actually stop it.- Specified by:
stop
in classDatabaseWrapper
- Throws:
Exception
-
getUsername
- Specified by:
getUsername
in classDatabaseWrapper
-
getPassword
-
getUrl
- Specified by:
getUrl
in classDatabaseWrapper
-