- java.lang.Object
-
- org.jooq.meta.jaxb.Jdbc
-
- All Implemented Interfaces:
Serializable,XMLAppendable
public class Jdbc extends Object implements Serializable, XMLAppendable
JDBC connection configuration.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Jdbc()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidappendTo(XMLBuilder builder)booleanequals(Object that)StringgetDriver()The JDBC driver class.StringgetPassword()The JDBC connection password.List<Property>getProperties()StringgetSchema()Deprecated.Use database schema configuration elements instead.StringgetUrl()The JDBC connection URL.StringgetUser()The JDBC connection user.StringgetUsername()Just a synonym for "user" to be compatible with other Maven plugins.inthashCode()BooleanisAutoCommit()The value of the JDBC autocommit flag.voidsetAutoCommit(Boolean value)Sets the value of the autoCommit property.voidsetDriver(String value)The JDBC driver class.voidsetPassword(String value)The JDBC connection password.voidsetProperties(List<Property> properties)voidsetSchema(String value)Deprecated.Use database schema configuration elements instead.voidsetUrl(String value)The JDBC connection URL.voidsetUser(String value)The JDBC connection user.voidsetUsername(String value)Just a synonym for "user" to be compatible with other Maven plugins.StringtoString()JdbcwithAutoCommit(Boolean value)JdbcwithDriver(String value)The JDBC driver class.JdbcwithPassword(String value)The JDBC connection password.JdbcwithProperties(Collection<Property> values)JdbcwithProperties(List<Property> properties)JdbcwithProperties(Property... values)JdbcwithSchema(String value)Deprecated.Use database schema configuration elements instead.JdbcwithUrl(String value)The JDBC connection URL.JdbcwithUser(String value)The JDBC connection user.JdbcwithUsername(String value)Just a synonym for "user" to be compatible with other Maven plugins.
-
-
-
Method Detail
-
getDriver
public String getDriver()
The JDBC driver class.
-
setDriver
public void setDriver(String value)
The JDBC driver class.
-
getUrl
public String getUrl()
The JDBC connection URL.
-
setUrl
public void setUrl(String value)
The JDBC connection URL.
-
getSchema
@Deprecated public String getSchema()
Deprecated.Use database schema configuration elements instead.
-
setSchema
@Deprecated public void setSchema(String value)
Deprecated.Use database schema configuration elements instead.
-
getUser
public String getUser()
The JDBC connection user. Be sure this user has all required GRANTs to the dictionary views/tables to generate the desired artefacts
-
setUser
public void setUser(String value)
The JDBC connection user. Be sure this user has all required GRANTs to the dictionary views/tables to generate the desired artefacts
-
getUsername
public String getUsername()
Just a synonym for "user" to be compatible with other Maven plugins.
-
setUsername
public void setUsername(String value)
Just a synonym for "user" to be compatible with other Maven plugins.
-
getPassword
public String getPassword()
The JDBC connection password.
-
setPassword
public void setPassword(String value)
The JDBC connection password.
-
isAutoCommit
public Boolean isAutoCommit()
The value of the JDBC autocommit flag. The flag is not set by default, i.e. it keeps the default provided to jOOQ.- Returns:
- possible object is
Boolean
-
setAutoCommit
public void setAutoCommit(Boolean value)
Sets the value of the autoCommit property.- Parameters:
value- allowed object isBoolean
-
withSchema
@Deprecated public Jdbc withSchema(String value)
Deprecated.Use database schema configuration elements instead.
-
withUser
public Jdbc withUser(String value)
The JDBC connection user. Be sure this user has all required GRANTs to the dictionary views/tables to generate the desired artefacts
-
withUsername
public Jdbc withUsername(String value)
Just a synonym for "user" to be compatible with other Maven plugins.
-
withProperties
public Jdbc withProperties(Collection<Property> values)
-
appendTo
public final void appendTo(XMLBuilder builder)
- Specified by:
appendToin interfaceXMLAppendable
-
-