public class JdbcDatabaseWrapper extends DatabaseWrapper
DatabaseWrapper for databases that are connected to via a JDBC url and are not "started" in a traditional sense.| Constructor and Description |
|---|
JdbcDatabaseWrapper(String url,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
String |
describe()
Describes the configuration of this wrapper.
|
String |
getPassword() |
String |
getUrl() |
String |
getUsername() |
void |
start()
Start the database if possible and ensure it can be connected to.
|
void |
stop()
Stop the database if possible.
|
public JdbcDatabaseWrapper(String url, String username, String password) throws SQLException
SQLExceptionpublic String describe()
DatabaseWrapperdescribe in class DatabaseWrapperpublic void start()
throws Exception
DatabaseWrapperstart in class DatabaseWrapperExceptionpublic void stop()
throws Exception
DatabaseWrapperstop in class DatabaseWrapperExceptionpublic String getUsername()
getUsername in class DatabaseWrapperpublic String getPassword()
public String getUrl()
getUrl in class DatabaseWrapperCopyright © 2022 Liquibase.org. All rights reserved.