public class Jdbc extends Object implements Serializable, XMLAppendable
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
autoCommit |
protected String |
driver |
protected String |
password |
protected List<Property> |
properties |
protected String |
schema |
protected String |
url |
protected String |
user |
protected String |
username |
| Constructor and Description |
|---|
Jdbc() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(XMLBuilder builder) |
boolean |
equals(Object that) |
String |
getDriver()
The JDBC driver class.
|
String |
getPassword()
The JDBC connection password.
|
List<Property> |
getProperties() |
String |
getSchema()
Deprecated.
Use database schema configuration elements instead.
|
String |
getUrl()
The JDBC connection URL.
|
String |
getUser()
The JDBC connection user.
|
String |
getUsername()
Just a synonym for "user" to be compatible with other Maven plugins.
|
int |
hashCode() |
Boolean |
isAutoCommit()
The value of the JDBC autocommit flag.
|
void |
setAutoCommit(Boolean value)
Sets the value of the autoCommit property.
|
void |
setDriver(String value)
The JDBC driver class.
|
void |
setPassword(String value)
The JDBC connection password.
|
void |
setProperties(List<Property> properties) |
void |
setSchema(String value)
Deprecated.
Use database schema configuration elements instead.
|
void |
setUrl(String value)
The JDBC connection URL.
|
void |
setUser(String value)
The JDBC connection user.
|
void |
setUsername(String value)
Just a synonym for "user" to be compatible with other Maven plugins.
|
String |
toString() |
Jdbc |
withAutoCommit(Boolean value) |
Jdbc |
withDriver(String value)
The JDBC driver class.
|
Jdbc |
withPassword(String value)
The JDBC connection password.
|
Jdbc |
withProperties(Collection<Property> values) |
Jdbc |
withProperties(List<Property> properties) |
Jdbc |
withProperties(Property... values) |
Jdbc |
withSchema(String value)
Deprecated.
Use database schema configuration elements instead.
|
Jdbc |
withUrl(String value)
The JDBC connection URL.
|
Jdbc |
withUser(String value)
The JDBC connection user.
|
Jdbc |
withUsername(String value)
Just a synonym for "user" to be compatible with other Maven plugins.
|
protected String driver
protected String url
protected String schema
protected String user
protected String username
protected String password
protected Boolean autoCommit
public String getDriver()
public void setDriver(String value)
public String getUrl()
public void setUrl(String value)
@Deprecated public String getSchema()
@Deprecated public void setSchema(String value)
public String getUser()
public void setUser(String value)
public String getUsername()
public void setUsername(String value)
public String getPassword()
public void setPassword(String value)
public Boolean isAutoCommit()
Booleanpublic void setAutoCommit(Boolean value)
value - allowed object is
Boolean@Deprecated public Jdbc withSchema(String value)
public Jdbc withUser(String value)
public Jdbc withUsername(String value)
public Jdbc withProperties(Collection<Property> values)
public final void appendTo(XMLBuilder builder)
appendTo in interface XMLAppendableCopyright © 2021. All rights reserved.