java.lang.Object
org.jooq.meta.jaxb.Jdbc
- All Implemented Interfaces:
Serializable,XMLAppendable
JDBC connection configuration.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidappendTo(XMLBuilder builder) booleanThe JDBC driver class.A script to run after creating the JDBC connection, and before running the code generator.The separator used to separate statements in the initScript, defaulting to ";".The JDBC connection password.Deprecated.Use database schema configuration elements instead.getUrl()The JDBC connection URL.getUser()The JDBC connection user.Just a synonym for "user" to be compatible with other Maven plugins.inthashCode()The value of the JDBC autocommit flag.voidsetAutoCommit(Boolean value) The value of the JDBC autocommit flag.voidThe JDBC driver class.voidsetInitScript(String value) A script to run after creating the JDBC connection, and before running the code generator.voidsetInitSeparator(String value) The separator used to separate statements in the initScript, defaulting to ";".voidsetPassword(String value) The JDBC connection password.voidsetProperties(List<Property> properties) voidDeprecated.Use database schema configuration elements instead.voidThe JDBC connection URL.voidThe JDBC connection user.voidsetUsername(String value) Just a synonym for "user" to be compatible with other Maven plugins.toString()withAutoCommit(Boolean value) The value of the JDBC autocommit flag.withDriver(String value) The JDBC driver class.withInitScript(String value) A script to run after creating the JDBC connection, and before running the code generator.withInitSeparator(String value) The separator used to separate statements in the initScript, defaulting to ";".withPassword(String value) The JDBC connection password.withProperties(Collection<Property> values) withProperties(List<Property> properties) withProperties(Property... values) withSchema(String value) Deprecated.Use database schema configuration elements instead.The JDBC connection URL.The JDBC connection user.withUsername(String value) Just a synonym for "user" to be compatible with other Maven plugins.
-
Field Details
-
driver
-
url
-
schema
-
user
-
username
-
password
-
autoCommit
-
initScript
-
initSeparator
-
properties
-
-
Constructor Details
-
Jdbc
public Jdbc()
-
-
Method Details
-
getDriver
The JDBC driver class. -
setDriver
The JDBC driver class. -
getUrl
The JDBC connection URL. -
setUrl
The JDBC connection URL. -
getSchema
Deprecated.Use database schema configuration elements instead. -
setSchema
Deprecated.Use database schema configuration elements instead. -
getUser
The JDBC connection user. Be sure this user has all required GRANTs to the dictionary views/tables to generate the desired artefacts. -
setUser
The JDBC connection user. Be sure this user has all required GRANTs to the dictionary views/tables to generate the desired artefacts. -
getUsername
Just a synonym for "user" to be compatible with other Maven plugins. -
setUsername
Just a synonym for "user" to be compatible with other Maven plugins. -
getPassword
The JDBC connection password. -
setPassword
The JDBC connection password. -
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
The value of the JDBC autocommit flag. The flag is not set by default, i.e. it keeps the default provided to jOOQ.- Parameters:
value- allowed object isBoolean
-
getInitScript
A script to run after creating the JDBC connection, and before running the code generator. -
setInitScript
A script to run after creating the JDBC connection, and before running the code generator. -
getInitSeparator
The separator used to separate statements in the initScript, defaulting to ";". -
setInitSeparator
The separator used to separate statements in the initScript, defaulting to ";". -
getProperties
-
setProperties
-
withDriver
The JDBC driver class. -
withUrl
The JDBC connection URL. -
withSchema
Deprecated.Use database schema configuration elements instead. -
withUser
The JDBC connection user. Be sure this user has all required GRANTs to the dictionary views/tables to generate the desired artefacts. -
withUsername
Just a synonym for "user" to be compatible with other Maven plugins. -
withPassword
The JDBC connection password. -
withAutoCommit
The value of the JDBC autocommit flag. The flag is not set by default, i.e. it keeps the default provided to jOOQ. -
withInitScript
A script to run after creating the JDBC connection, and before running the code generator. -
withInitSeparator
The separator used to separate statements in the initScript, defaulting to ";". -
withProperties
-
withProperties
-
withProperties
-
appendTo
- Specified by:
appendToin interfaceXMLAppendable
-
toString
-
equals
-
hashCode
public int hashCode()
-