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
SQLException
public String describe()
DatabaseWrapper
describe
in class DatabaseWrapper
public void start() throws Exception
DatabaseWrapper
start
in class DatabaseWrapper
Exception
public void stop() throws Exception
DatabaseWrapper
stop
in class DatabaseWrapper
Exception
public String getUsername()
getUsername
in class DatabaseWrapper
public String getPassword()
public String getUrl()
getUrl
in class DatabaseWrapper
Copyright © 2023 Liquibase.org. All rights reserved.