diff --git a/jOOQ-codegen-maven-example/pom.xml b/jOOQ-codegen-maven-example/pom.xml index 6e49a24d5d..15d1d58510 100644 --- a/jOOQ-codegen-maven-example/pom.xml +++ b/jOOQ-codegen-maven-example/pom.xml @@ -9,7 +9,7 @@ org.jooq jooq-codegen-maven-example - 2.2.1 + 2.3.0-SNAPSHOT jar jOOQ Codegen Maven @@ -51,7 +51,7 @@ org.jooq jooq - 2.2.1 + 2.3.0-SNAPSHOT jar compile @@ -106,7 +106,7 @@ org.jooq jooq-codegen-maven - 2.2.1 + 2.3.0-SNAPSHOT exec1 diff --git a/jOOQ-codegen-maven/pom.xml b/jOOQ-codegen-maven/pom.xml index e67cb3b755..cc92d6a3b2 100644 --- a/jOOQ-codegen-maven/pom.xml +++ b/jOOQ-codegen-maven/pom.xml @@ -9,7 +9,7 @@ org.jooq jooq-codegen-maven - 2.2.1 + 2.3.0-SNAPSHOT maven-plugin jOOQ Codegen Maven @@ -160,7 +160,7 @@ org.jooq jooq-codegen - 2.2.1 + 2.3.0-SNAPSHOT jar diff --git a/jOOQ-codegen/pom.xml b/jOOQ-codegen/pom.xml index dc23bfbb63..50226b4d14 100644 --- a/jOOQ-codegen/pom.xml +++ b/jOOQ-codegen/pom.xml @@ -10,7 +10,7 @@ org.jooq jooq-codegen - 2.2.1 + 2.3.0-SNAPSHOT jar jOOQ Codegen @@ -150,14 +150,14 @@ org.jooq jooq - 2.2.1 + 2.3.0-SNAPSHOT jar compile org.jooq jooq-meta - 2.2.1 + 2.3.0-SNAPSHOT jar compile diff --git a/jOOQ-console/pom.xml b/jOOQ-console/pom.xml index dfd7a81134..84e8c70f7c 100644 --- a/jOOQ-console/pom.xml +++ b/jOOQ-console/pom.xml @@ -10,7 +10,7 @@ org.jooq jooq-console - 2.2.1 + 2.3.0-SNAPSHOT jar jOOQ @@ -201,7 +201,7 @@ org.jooq jooq - 2.2.1 + 2.3.0-SNAPSHOT jar compile diff --git a/jOOQ-meta/pom.xml b/jOOQ-meta/pom.xml index 3ccbdc9fad..ad0d6d7a32 100644 --- a/jOOQ-meta/pom.xml +++ b/jOOQ-meta/pom.xml @@ -9,7 +9,7 @@ org.jooq jooq-meta - 2.2.1 + 2.3.0-SNAPSHOT jar jOOQ Meta @@ -149,7 +149,7 @@ org.jooq jooq - 2.2.1 + 2.3.0-SNAPSHOT jar compile diff --git a/jOOQ-spring/pom.xml b/jOOQ-spring/pom.xml index 81b6071b6f..4b917476e3 100644 --- a/jOOQ-spring/pom.xml +++ b/jOOQ-spring/pom.xml @@ -10,7 +10,7 @@ org.jooq jooq-spring - 2.2.1 + 2.3.0-SNAPSHOT jar jOOQ Spring @@ -188,7 +188,7 @@ org.jooq jooq - 2.2.1 + 2.3.0-SNAPSHOT jar compile diff --git a/jOOQ/.classpath b/jOOQ/.classpath index c0821b0137..3e81493173 100644 --- a/jOOQ/.classpath +++ b/jOOQ/.classpath @@ -3,6 +3,7 @@ + diff --git a/jOOQ/build.xml b/jOOQ/build.xml deleted file mode 100644 index 2e83106f86..0000000000 --- a/jOOQ/build.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jOOQ/lib/activation.jar b/jOOQ/lib/activation.jar deleted file mode 100644 index 8cbef16f48..0000000000 Binary files a/jOOQ/lib/activation.jar and /dev/null differ diff --git a/jOOQ/lib/jaxb-api.jar b/jOOQ/lib/jaxb-api.jar deleted file mode 100644 index 3918383710..0000000000 Binary files a/jOOQ/lib/jaxb-api.jar and /dev/null differ diff --git a/jOOQ/lib/jaxb-impl.jar b/jOOQ/lib/jaxb-impl.jar deleted file mode 100644 index 7ff2dac935..0000000000 Binary files a/jOOQ/lib/jaxb-impl.jar and /dev/null differ diff --git a/jOOQ/lib/jaxb-xjc.jar b/jOOQ/lib/jaxb-xjc.jar deleted file mode 100644 index e586232048..0000000000 Binary files a/jOOQ/lib/jaxb-xjc.jar and /dev/null differ diff --git a/jOOQ/lib/jaxb1-impl.jar b/jOOQ/lib/jaxb1-impl.jar deleted file mode 100644 index f6c8349da4..0000000000 Binary files a/jOOQ/lib/jaxb1-impl.jar and /dev/null differ diff --git a/jOOQ/lib/jaxb2-default-value-1.1.jar b/jOOQ/lib/jaxb2-default-value-1.1.jar deleted file mode 100644 index 884897de55..0000000000 Binary files a/jOOQ/lib/jaxb2-default-value-1.1.jar and /dev/null differ diff --git a/jOOQ/lib/jaxb2-fluent-api-3.0.jar b/jOOQ/lib/jaxb2-fluent-api-3.0.jar deleted file mode 100644 index f3c384f497..0000000000 Binary files a/jOOQ/lib/jaxb2-fluent-api-3.0.jar and /dev/null differ diff --git a/jOOQ/lib/jaxb2-value-constructor-3.0.jar b/jOOQ/lib/jaxb2-value-constructor-3.0.jar deleted file mode 100644 index 1d53dc1565..0000000000 Binary files a/jOOQ/lib/jaxb2-value-constructor-3.0.jar and /dev/null differ diff --git a/jOOQ/lib/jsr173_1.0_api.jar b/jOOQ/lib/jsr173_1.0_api.jar deleted file mode 100644 index 87ff1c1abb..0000000000 Binary files a/jOOQ/lib/jsr173_1.0_api.jar and /dev/null differ diff --git a/jOOQ/lib/xew.jar b/jOOQ/lib/xew.jar deleted file mode 100644 index a7e6051e97..0000000000 Binary files a/jOOQ/lib/xew.jar and /dev/null differ diff --git a/jOOQ/pom.xml b/jOOQ/pom.xml index 4e45f1f0f5..80c3f37a52 100644 --- a/jOOQ/pom.xml +++ b/jOOQ/pom.xml @@ -10,7 +10,7 @@ org.jooq jooq - 2.2.1 + 2.3.0-SNAPSHOT jar jOOQ @@ -37,6 +37,55 @@ ${project.artifactId}-${project.version} + + + + org.jvnet.jaxb2.maven2 + maven-jaxb2-plugin + 0.8.1 + + + + generate + + + + + true + false + src/main/resources/xsd + + jooq-runtime-2.3.0.xsd + + org.jooq.conf + + -Xxew + -Xxew:instantiate lazy + -Xxew:delete + -Xfluent-api + -Xdefault-value + + + + com.github.jaxb-xew-plugin + jaxb-xew-plugin + 1.0 + + + org.jvnet.jaxb2_commons + jaxb2-fluent-api + 3.0 + + + org.jvnet.jaxb2_commons + jaxb2-default-value + 1.1 + + + + + org.apache.maven.plugins maven-gpg-plugin diff --git a/jOOQ/src/main/java/org/jooq/conf/MappedSchema.java b/jOOQ/src/main/java/org/jooq/conf/MappedSchema.java deleted file mode 100644 index 1cf08ba6ed..0000000000 --- a/jOOQ/src/main/java/org/jooq/conf/MappedSchema.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.04.12 at 07:54:20 PM MESZ -// - - -package org.jooq.conf; - -import java.io.Serializable; -import java.util.ArrayList; -import java.util.Collection; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementWrapper; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for MappedSchema complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="MappedSchema">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <all>
- *         <element name="input" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="output" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="tables" type="{http://www.jooq.org/xsd/jooq-runtime-2.3.0.xsd}MappedTables" minOccurs="0"/>
- *       </all>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "MappedSchema", propOrder = { - -}) -public class MappedSchema - implements Serializable -{ - - private final static long serialVersionUID = 205L; - @XmlElement(required = true) - protected String input; - protected String output; - @XmlElementWrapper(name = "tables") - @XmlElement(name = "table") - protected List tables; - - /** - * Gets the value of the input property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInput() { - return input; - } - - /** - * Sets the value of the input property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInput(String value) { - this.input = value; - } - - /** - * Gets the value of the output property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getOutput() { - return output; - } - - /** - * Sets the value of the output property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setOutput(String value) { - this.output = value; - } - - public List getTables() { - if (tables == null) { - tables = new ArrayList(); - } - return tables; - } - - public MappedSchema withInput(String value) { - setInput(value); - return this; - } - - public MappedSchema withOutput(String value) { - setOutput(value); - return this; - } - - public MappedSchema withTables(MappedTable... values) { - if (values!= null) { - for (MappedTable value: values) { - getTables().add(value); - } - } - return this; - } - - public MappedSchema withTables(Collection values) { - if (values!= null) { - getTables().addAll(values); - } - return this; - } - -} diff --git a/jOOQ/src/main/java/org/jooq/conf/MappedTable.java b/jOOQ/src/main/java/org/jooq/conf/MappedTable.java deleted file mode 100644 index 6e0f0ced6c..0000000000 --- a/jOOQ/src/main/java/org/jooq/conf/MappedTable.java +++ /dev/null @@ -1,110 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.04.12 at 07:54:20 PM MESZ -// - - -package org.jooq.conf; - -import java.io.Serializable; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for MappedTable complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="MappedTable">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <all>
- *         <element name="input" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="output" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *       </all>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "MappedTable", propOrder = { - -}) -public class MappedTable - implements Serializable -{ - - private final static long serialVersionUID = 205L; - @XmlElement(required = true) - protected String input; - @XmlElement(required = true) - protected String output; - - /** - * Gets the value of the input property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInput() { - return input; - } - - /** - * Sets the value of the input property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInput(String value) { - this.input = value; - } - - /** - * Gets the value of the output property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getOutput() { - return output; - } - - /** - * Sets the value of the output property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setOutput(String value) { - this.output = value; - } - - public MappedTable withInput(String value) { - setInput(value); - return this; - } - - public MappedTable withOutput(String value) { - setOutput(value); - return this; - } - -} diff --git a/jOOQ/src/main/java/org/jooq/conf/RenderKeywordStyle.java b/jOOQ/src/main/java/org/jooq/conf/RenderKeywordStyle.java deleted file mode 100644 index c4f59e4512..0000000000 --- a/jOOQ/src/main/java/org/jooq/conf/RenderKeywordStyle.java +++ /dev/null @@ -1,43 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.04.12 at 07:54:20 PM MESZ -// - - -package org.jooq.conf; - -import javax.xml.bind.annotation.XmlEnum; - - -/** - *

Java class for RenderKeywordStyle. - * - *

The following schema fragment specifies the expected content contained within this class. - *

- *

- * <simpleType name="RenderKeywordStyle">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="LOWER"/>
- *     <enumeration value="UPPER"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlEnum -public enum RenderKeywordStyle { - - LOWER, - UPPER; - - public String value() { - return name(); - } - - public static RenderKeywordStyle fromValue(String v) { - return valueOf(v); - } - -} diff --git a/jOOQ/src/main/java/org/jooq/conf/RenderMapping.java b/jOOQ/src/main/java/org/jooq/conf/RenderMapping.java deleted file mode 100644 index 265fd38137..0000000000 --- a/jOOQ/src/main/java/org/jooq/conf/RenderMapping.java +++ /dev/null @@ -1,108 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.04.12 at 07:54:20 PM MESZ -// - - -package org.jooq.conf; - -import java.io.Serializable; -import java.util.ArrayList; -import java.util.Collection; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementWrapper; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for RenderMapping complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="RenderMapping">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <all>
- *         <element name="defaultSchema" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="schemata" type="{http://www.jooq.org/xsd/jooq-runtime-2.3.0.xsd}MappedSchemata" minOccurs="0"/>
- *       </all>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RenderMapping", propOrder = { - -}) -public class RenderMapping - implements Serializable -{ - - private final static long serialVersionUID = 205L; - protected String defaultSchema; - @XmlElementWrapper(name = "schemata") - @XmlElement(name = "schema") - protected List schemata; - - /** - * Gets the value of the defaultSchema property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDefaultSchema() { - return defaultSchema; - } - - /** - * Sets the value of the defaultSchema property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDefaultSchema(String value) { - this.defaultSchema = value; - } - - public List getSchemata() { - if (schemata == null) { - schemata = new ArrayList(); - } - return schemata; - } - - public RenderMapping withDefaultSchema(String value) { - setDefaultSchema(value); - return this; - } - - public RenderMapping withSchemata(MappedSchema... values) { - if (values!= null) { - for (MappedSchema value: values) { - getSchemata().add(value); - } - } - return this; - } - - public RenderMapping withSchemata(Collection values) { - if (values!= null) { - getSchemata().addAll(values); - } - return this; - } - -} diff --git a/jOOQ/src/main/java/org/jooq/conf/RenderNameStyle.java b/jOOQ/src/main/java/org/jooq/conf/RenderNameStyle.java deleted file mode 100644 index f4c1fd7926..0000000000 --- a/jOOQ/src/main/java/org/jooq/conf/RenderNameStyle.java +++ /dev/null @@ -1,47 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.04.12 at 07:54:20 PM MESZ -// - - -package org.jooq.conf; - -import javax.xml.bind.annotation.XmlEnum; - - -/** - *

Java class for RenderNameStyle. - * - *

The following schema fragment specifies the expected content contained within this class. - *

- *

- * <simpleType name="RenderNameStyle">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="QUOTED"/>
- *     <enumeration value="AS_IS"/>
- *     <enumeration value="LOWER"/>
- *     <enumeration value="UPPER"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlEnum -public enum RenderNameStyle { - - QUOTED, - AS_IS, - LOWER, - UPPER; - - public String value() { - return name(); - } - - public static RenderNameStyle fromValue(String v) { - return valueOf(v); - } - -} diff --git a/jOOQ/src/main/java/org/jooq/conf/Settings.java b/jOOQ/src/main/java/org/jooq/conf/Settings.java deleted file mode 100644 index c8ea2af72d..0000000000 --- a/jOOQ/src/main/java/org/jooq/conf/Settings.java +++ /dev/null @@ -1,301 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.04.12 at 07:54:20 PM MESZ -// - - -package org.jooq.conf; - -import java.io.Serializable; -import java.util.ArrayList; -import java.util.Collection; -import java.util.List; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementWrapper; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for Settings complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="Settings">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <all>
- *         <element name="renderSchema" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="renderMapping" type="{http://www.jooq.org/xsd/jooq-runtime-2.3.0.xsd}RenderMapping" minOccurs="0"/>
- *         <element name="renderNameStyle" type="{http://www.jooq.org/xsd/jooq-runtime-2.3.0.xsd}RenderNameStyle" minOccurs="0"/>
- *         <element name="renderKeywordStyle" type="{http://www.jooq.org/xsd/jooq-runtime-2.3.0.xsd}RenderKeywordStyle" minOccurs="0"/>
- *         <element name="renderFormatted" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="statementType" type="{http://www.jooq.org/xsd/jooq-runtime-2.3.0.xsd}StatementType" minOccurs="0"/>
- *         <element name="executeLogging" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="executeListeners" type="{http://www.jooq.org/xsd/jooq-runtime-2.3.0.xsd}ExecuteListeners" minOccurs="0"/>
- *       </all>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Settings", propOrder = { - -}) -public class Settings - implements Serializable -{ - - private final static long serialVersionUID = 205L; - @XmlElement(defaultValue = "true") - protected Boolean renderSchema = true; - protected RenderMapping renderMapping; - @XmlElement(defaultValue = "QUOTED") - protected RenderNameStyle renderNameStyle = RenderNameStyle.QUOTED; - @XmlElement(defaultValue = "LOWER") - protected RenderKeywordStyle renderKeywordStyle = RenderKeywordStyle.LOWER; - @XmlElement(defaultValue = "false") - protected Boolean renderFormatted = false; - @XmlElement(defaultValue = "PREPARED_STATEMENT") - protected StatementType statementType = StatementType.PREPARED_STATEMENT; - @XmlElement(defaultValue = "true") - protected Boolean executeLogging = true; - @XmlElementWrapper(name = "executeListeners") - @XmlElement(name = "executeListener") - protected List executeListeners; - - /** - * Gets the value of the renderSchema property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isRenderSchema() { - return renderSchema; - } - - /** - * Sets the value of the renderSchema property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRenderSchema(Boolean value) { - this.renderSchema = value; - } - - /** - * Gets the value of the renderMapping property. - * - * @return - * possible object is - * {@link RenderMapping } - * - */ - public RenderMapping getRenderMapping() { - return renderMapping; - } - - /** - * Sets the value of the renderMapping property. - * - * @param value - * allowed object is - * {@link RenderMapping } - * - */ - public void setRenderMapping(RenderMapping value) { - this.renderMapping = value; - } - - /** - * Gets the value of the renderNameStyle property. - * - * @return - * possible object is - * {@link RenderNameStyle } - * - */ - public RenderNameStyle getRenderNameStyle() { - return renderNameStyle; - } - - /** - * Sets the value of the renderNameStyle property. - * - * @param value - * allowed object is - * {@link RenderNameStyle } - * - */ - public void setRenderNameStyle(RenderNameStyle value) { - this.renderNameStyle = value; - } - - /** - * Gets the value of the renderKeywordStyle property. - * - * @return - * possible object is - * {@link RenderKeywordStyle } - * - */ - public RenderKeywordStyle getRenderKeywordStyle() { - return renderKeywordStyle; - } - - /** - * Sets the value of the renderKeywordStyle property. - * - * @param value - * allowed object is - * {@link RenderKeywordStyle } - * - */ - public void setRenderKeywordStyle(RenderKeywordStyle value) { - this.renderKeywordStyle = value; - } - - /** - * Gets the value of the renderFormatted property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isRenderFormatted() { - return renderFormatted; - } - - /** - * Sets the value of the renderFormatted property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRenderFormatted(Boolean value) { - this.renderFormatted = value; - } - - /** - * Gets the value of the statementType property. - * - * @return - * possible object is - * {@link StatementType } - * - */ - public StatementType getStatementType() { - return statementType; - } - - /** - * Sets the value of the statementType property. - * - * @param value - * allowed object is - * {@link StatementType } - * - */ - public void setStatementType(StatementType value) { - this.statementType = value; - } - - /** - * Gets the value of the executeLogging property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isExecuteLogging() { - return executeLogging; - } - - /** - * Sets the value of the executeLogging property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setExecuteLogging(Boolean value) { - this.executeLogging = value; - } - - public List getExecuteListeners() { - if (executeListeners == null) { - executeListeners = new ArrayList(); - } - return executeListeners; - } - - public Settings withRenderSchema(Boolean value) { - setRenderSchema(value); - return this; - } - - public Settings withRenderMapping(RenderMapping value) { - setRenderMapping(value); - return this; - } - - public Settings withRenderNameStyle(RenderNameStyle value) { - setRenderNameStyle(value); - return this; - } - - public Settings withRenderKeywordStyle(RenderKeywordStyle value) { - setRenderKeywordStyle(value); - return this; - } - - public Settings withRenderFormatted(Boolean value) { - setRenderFormatted(value); - return this; - } - - public Settings withStatementType(StatementType value) { - setStatementType(value); - return this; - } - - public Settings withExecuteLogging(Boolean value) { - setExecuteLogging(value); - return this; - } - - public Settings withExecuteListeners(String... values) { - if (values!= null) { - for (String value: values) { - getExecuteListeners().add(value); - } - } - return this; - } - - public Settings withExecuteListeners(Collection values) { - if (values!= null) { - getExecuteListeners().addAll(values); - } - return this; - } - -} diff --git a/jOOQ/src/main/java/org/jooq/conf/StatementType.java b/jOOQ/src/main/java/org/jooq/conf/StatementType.java deleted file mode 100644 index 157d44cb74..0000000000 --- a/jOOQ/src/main/java/org/jooq/conf/StatementType.java +++ /dev/null @@ -1,43 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.04.12 at 07:54:20 PM MESZ -// - - -package org.jooq.conf; - -import javax.xml.bind.annotation.XmlEnum; - - -/** - *

Java class for StatementType. - * - *

The following schema fragment specifies the expected content contained within this class. - *

- *

- * <simpleType name="StatementType">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="STATIC_STATEMENT"/>
- *     <enumeration value="PREPARED_STATEMENT"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlEnum -public enum StatementType { - - STATIC_STATEMENT, - PREPARED_STATEMENT; - - public String value() { - return name(); - } - - public static StatementType fromValue(String v) { - return valueOf(v); - } - -} diff --git a/jOOQ/src/main/java/org/jooq/conf/package-info.java b/jOOQ/src/main/java/org/jooq/conf/package-info.java deleted file mode 100644 index 3c536e00a3..0000000000 --- a/jOOQ/src/main/java/org/jooq/conf/package-info.java +++ /dev/null @@ -1,9 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.04.12 at 07:54:20 PM MESZ -// - -@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.jooq.org/xsd/jooq-runtime-2.3.0.xsd") -package org.jooq.conf;