From 9df44ed64cc1bd9a0bc274a75c1a38f08406e8eb Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Thu, 20 Feb 2025 15:30:39 +0100 Subject: [PATCH] [jOOQ/jOOQ#18032] Generated POJO equals() and hashCode() implementations shouldn't exclude non-primary key columns by default --- .../jooq/meta/jaxb/CatalogMappingType.java | 2 +- .../java/org/jooq/meta/jaxb/CommentType.java | 2 +- .../org/jooq/meta/jaxb/Configuration.java | 2 +- .../java/org/jooq/meta/jaxb/CustomType.java | 2 +- .../java/org/jooq/meta/jaxb/Database.java | 2 +- .../meta/jaxb/EmbeddableDefinitionType.java | 2 +- .../org/jooq/meta/jaxb/EmbeddableField.java | 2 +- .../java/org/jooq/meta/jaxb/EnumType.java | 2 +- .../java/org/jooq/meta/jaxb/ForcedType.java | 2 +- .../java/org/jooq/meta/jaxb/Generate.java | 6 +- .../java/org/jooq/meta/jaxb/Generator.java | 2 +- .../main/java/org/jooq/meta/jaxb/Jdbc.java | 2 +- .../org/jooq/meta/jaxb/LambdaConverter.java | 2 +- .../java/org/jooq/meta/jaxb/MatcherRule.java | 2 +- .../java/org/jooq/meta/jaxb/Matchers.java | 2 +- .../jooq/meta/jaxb/MatchersAttributeType.java | 2 +- .../jooq/meta/jaxb/MatchersCatalogType.java | 2 +- .../meta/jaxb/MatchersEmbeddableType.java | 2 +- .../org/jooq/meta/jaxb/MatchersEnumType.java | 2 +- .../org/jooq/meta/jaxb/MatchersFieldType.java | 2 +- .../meta/jaxb/MatchersForeignKeyType.java | 2 +- .../org/jooq/meta/jaxb/MatchersIndexType.java | 2 +- .../meta/jaxb/MatchersPrimaryKeyType.java | 2 +- .../jooq/meta/jaxb/MatchersRoutineType.java | 2 +- .../jooq/meta/jaxb/MatchersSchemaType.java | 2 +- .../jooq/meta/jaxb/MatchersSequenceType.java | 2 +- .../org/jooq/meta/jaxb/MatchersTableType.java | 2 +- .../org/jooq/meta/jaxb/MatchersUDTType.java | 2 +- .../jooq/meta/jaxb/MatchersUniqueKeyType.java | 2 +- .../java/org/jooq/meta/jaxb/Property.java | 2 +- .../org/jooq/meta/jaxb/SchemaMappingType.java | 2 +- .../java/org/jooq/meta/jaxb/Strategy.java | 2 +- .../jooq/meta/jaxb/SyntheticColumnType.java | 2 +- .../meta/jaxb/SyntheticDaoMethodType.java | 2 +- .../org/jooq/meta/jaxb/SyntheticDaoType.java | 2 +- .../jooq/meta/jaxb/SyntheticDefaultType.java | 2 +- .../org/jooq/meta/jaxb/SyntheticEnumType.java | 2 +- .../meta/jaxb/SyntheticForeignKeyType.java | 2 +- .../jooq/meta/jaxb/SyntheticIdentityType.java | 2 +- .../jooq/meta/jaxb/SyntheticObjectsType.java | 2 +- .../meta/jaxb/SyntheticPrimaryKeyType.java | 2 +- .../jaxb/SyntheticReadonlyColumnType.java | 2 +- .../meta/jaxb/SyntheticReadonlyRowidType.java | 2 +- .../jooq/meta/jaxb/SyntheticSynonymType.java | 2 +- .../meta/jaxb/SyntheticUniqueKeyType.java | 2 +- .../org/jooq/meta/jaxb/SyntheticViewType.java | 2 +- .../main/java/org/jooq/meta/jaxb/Target.java | 2 +- .../org/jooq/meta/xsd/jooq-codegen-3.20.0.xsd | 3413 ----------------- 48 files changed, 49 insertions(+), 3462 deletions(-) delete mode 100644 jOOQ-meta/src/main/resources/org/jooq/meta/xsd/jooq-codegen-3.20.0.xsd diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/CatalogMappingType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/CatalogMappingType.java index 0831a5272f..8df2ee1e26 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/CatalogMappingType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/CatalogMappingType.java @@ -32,7 +32,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class CatalogMappingType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlElement(required = true, defaultValue = "") @XmlJavaTypeAdapter(StringAdapter.class) protected String inputCatalog = ""; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/CommentType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/CommentType.java index 4297a3a552..fa3eb1dc86 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/CommentType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/CommentType.java @@ -30,7 +30,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class CommentType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlElement(required = true) @XmlJavaTypeAdapter(StringAdapter.class) protected String expression; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Configuration.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Configuration.java index 49e619667d..033513eab6 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Configuration.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Configuration.java @@ -49,7 +49,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class Configuration implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlSchemaType(name = "string") protected Logging logging; @XmlElement(defaultValue = "FAIL") diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/CustomType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/CustomType.java index cde5ffc52e..91f4f1e12e 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/CustomType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/CustomType.java @@ -30,7 +30,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class CustomType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlElement(required = true) @XmlJavaTypeAdapter(StringAdapter.class) protected String name; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Database.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Database.java index ab91c09d2f..680bd60327 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Database.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Database.java @@ -33,7 +33,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class Database implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String name; @XmlJavaTypeAdapter(StringAdapter.class) diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/EmbeddableDefinitionType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/EmbeddableDefinitionType.java index 34b36d9897..87939dd6eb 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/EmbeddableDefinitionType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/EmbeddableDefinitionType.java @@ -32,7 +32,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class EmbeddableDefinitionType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String catalog; @XmlJavaTypeAdapter(StringAdapter.class) diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/EmbeddableField.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/EmbeddableField.java index bf354b7833..3f3a1e00c0 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/EmbeddableField.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/EmbeddableField.java @@ -42,7 +42,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class EmbeddableField implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String name; @XmlElement(required = true) diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/EnumType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/EnumType.java index f9457fde52..d25faf4373 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/EnumType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/EnumType.java @@ -42,7 +42,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class EnumType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlElement(required = true) @XmlJavaTypeAdapter(StringAdapter.class) protected String name; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/ForcedType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/ForcedType.java index 39decb002b..7fa2e13c2f 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/ForcedType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/ForcedType.java @@ -29,7 +29,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class ForcedType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlElement(defaultValue = "0") protected Integer priority = 0; @XmlJavaTypeAdapter(StringAdapter.class) diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Generate.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Generate.java index e4d0e9ef05..033ab3bb4d 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Generate.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Generate.java @@ -29,7 +29,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class Generate implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlElement(defaultValue = "true") protected Boolean indexes = true; @XmlElement(defaultValue = "true") @@ -126,8 +126,8 @@ public class Generate implements Serializable, XMLAppendable protected String pojosExcludes; @XmlElement(defaultValue = "true") protected Boolean pojosEqualsAndHashCode = true; - @XmlElement(defaultValue = "true") - protected Boolean pojosEqualsAndHashCodeIncludePrimaryKeyOnly = true; + @XmlElement(defaultValue = "false") + protected Boolean pojosEqualsAndHashCodeIncludePrimaryKeyOnly = false; @XmlElement(defaultValue = "") @XmlJavaTypeAdapter(StringAdapter.class) protected String pojosEqualsAndHashCodeColumnIncludeExpression = ""; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Generator.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Generator.java index 9cb4c56d6c..40d5bf29b6 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Generator.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Generator.java @@ -28,7 +28,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class Generator implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlElement(defaultValue = "org.jooq.codegen.DefaultGenerator") @XmlJavaTypeAdapter(StringAdapter.class) protected String name = "org.jooq.codegen.DefaultGenerator"; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Jdbc.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Jdbc.java index e21b98dc0f..a42e81e00f 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Jdbc.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Jdbc.java @@ -32,7 +32,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class Jdbc implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String driver; @XmlJavaTypeAdapter(StringAdapter.class) diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/LambdaConverter.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/LambdaConverter.java index 760f1d4a59..462a1b1a1f 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/LambdaConverter.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/LambdaConverter.java @@ -28,7 +28,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class LambdaConverter implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlElement(required = true) @XmlJavaTypeAdapter(StringAdapter.class) protected String from; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatcherRule.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatcherRule.java index 4c4ad6989d..ad3855c560 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatcherRule.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatcherRule.java @@ -43,7 +43,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class MatcherRule implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlSchemaType(name = "string") protected MatcherTransformType transform; @XmlElement(required = true) diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Matchers.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Matchers.java index c1f4bef12c..0b25d633c4 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Matchers.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Matchers.java @@ -30,7 +30,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class Matchers implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlElementWrapper(name = "catalogs") @XmlElement(name = "catalog") protected List catalogs; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersAttributeType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersAttributeType.java index db9d51daa6..461ecc49f2 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersAttributeType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersAttributeType.java @@ -28,7 +28,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class MatchersAttributeType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String expression; protected MatcherRule attributeIdentifier; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersCatalogType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersCatalogType.java index 3dd4c93109..70af8b1533 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersCatalogType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersCatalogType.java @@ -27,7 +27,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class MatchersCatalogType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String expression; protected MatcherRule catalogClass; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersEmbeddableType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersEmbeddableType.java index c2898bd923..be1aa23ffa 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersEmbeddableType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersEmbeddableType.java @@ -27,7 +27,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class MatchersEmbeddableType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String expression; protected MatcherRule recordClass; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersEnumType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersEnumType.java index e85e160733..424fae065e 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersEnumType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersEnumType.java @@ -27,7 +27,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class MatchersEnumType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String expression; protected MatcherRule enumClass; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersFieldType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersFieldType.java index f1f9dccb1f..da14769b66 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersFieldType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersFieldType.java @@ -28,7 +28,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class MatchersFieldType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String expression; protected MatcherRule fieldIdentifier; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersForeignKeyType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersForeignKeyType.java index 32ef04d433..48b2b4d904 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersForeignKeyType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersForeignKeyType.java @@ -27,7 +27,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class MatchersForeignKeyType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String expression; protected MatcherRule keyIdentifier; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersIndexType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersIndexType.java index 736b5b05a9..16178d2202 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersIndexType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersIndexType.java @@ -27,7 +27,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class MatchersIndexType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String expression; protected MatcherRule keyIdentifier; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersPrimaryKeyType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersPrimaryKeyType.java index ffa0d24f7b..7ec29c1321 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersPrimaryKeyType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersPrimaryKeyType.java @@ -27,7 +27,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class MatchersPrimaryKeyType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String expression; protected MatcherRule keyIdentifier; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersRoutineType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersRoutineType.java index f0f80fc949..fab57dcf80 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersRoutineType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersRoutineType.java @@ -27,7 +27,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class MatchersRoutineType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String expression; protected MatcherRule routineClass; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersSchemaType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersSchemaType.java index 938a25bf7f..ae2b1b9eb4 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersSchemaType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersSchemaType.java @@ -27,7 +27,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class MatchersSchemaType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String expression; protected MatcherRule schemaClass; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersSequenceType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersSequenceType.java index 66171df15a..68f8013c20 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersSequenceType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersSequenceType.java @@ -27,7 +27,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class MatchersSequenceType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String expression; protected MatcherRule sequenceIdentifier; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersTableType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersTableType.java index 615b2b3dae..efd4a14ed6 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersTableType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersTableType.java @@ -27,7 +27,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class MatchersTableType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String expression; protected MatcherRule tableClass; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersUDTType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersUDTType.java index 0890fea04d..68d0417374 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersUDTType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersUDTType.java @@ -27,7 +27,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class MatchersUDTType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String expression; protected MatcherRule udtClass; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersUniqueKeyType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersUniqueKeyType.java index 25101d3017..7b2a81fe76 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersUniqueKeyType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/MatchersUniqueKeyType.java @@ -27,7 +27,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class MatchersUniqueKeyType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String expression; protected MatcherRule keyIdentifier; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Property.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Property.java index 8e1e9866a8..8461683aa9 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Property.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Property.java @@ -29,7 +29,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class Property implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlElement(required = true) @XmlJavaTypeAdapter(StringAdapter.class) protected String key; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SchemaMappingType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SchemaMappingType.java index 2f5c5d9156..fb5868f2ee 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SchemaMappingType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SchemaMappingType.java @@ -28,7 +28,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class SchemaMappingType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlElement(required = true, defaultValue = "") @XmlJavaTypeAdapter(StringAdapter.class) protected String inputSchema = ""; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Strategy.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Strategy.java index 2e8438f49a..6762e737ee 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Strategy.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Strategy.java @@ -28,7 +28,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class Strategy implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlElement(defaultValue = "org.jooq.codegen.DefaultGeneratorStrategy") @XmlJavaTypeAdapter(StringAdapter.class) protected String name = "org.jooq.codegen.DefaultGeneratorStrategy"; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticColumnType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticColumnType.java index a0ec284f11..2783c17933 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticColumnType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticColumnType.java @@ -45,7 +45,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class SyntheticColumnType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String tables; @XmlElement(required = true) diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticDaoMethodType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticDaoMethodType.java index ea1da277de..2a5a582aca 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticDaoMethodType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticDaoMethodType.java @@ -44,7 +44,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class SyntheticDaoMethodType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlElement(required = true) @XmlJavaTypeAdapter(StringAdapter.class) protected String name; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticDaoType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticDaoType.java index 6975968bd5..942df70984 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticDaoType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticDaoType.java @@ -49,7 +49,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class SyntheticDaoType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String catalog; @XmlJavaTypeAdapter(StringAdapter.class) diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticDefaultType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticDefaultType.java index 2f0b93f1c2..8281b82fe2 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticDefaultType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticDefaultType.java @@ -44,7 +44,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class SyntheticDefaultType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String tables; @XmlElement(required = true) diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticEnumType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticEnumType.java index e31c68622f..4d6302efe2 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticEnumType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticEnumType.java @@ -53,7 +53,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class SyntheticEnumType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String name; @XmlJavaTypeAdapter(StringAdapter.class) diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticForeignKeyType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticForeignKeyType.java index 05ece84f36..cbbb9d04f2 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticForeignKeyType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticForeignKeyType.java @@ -51,7 +51,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class SyntheticForeignKeyType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String name; @XmlJavaTypeAdapter(StringAdapter.class) diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticIdentityType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticIdentityType.java index bbd825ad0e..1bf4e3c947 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticIdentityType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticIdentityType.java @@ -43,7 +43,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class SyntheticIdentityType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String tables; @XmlElement(required = true) diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticObjectsType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticObjectsType.java index 37d52c5b3e..72b7fe5517 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticObjectsType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticObjectsType.java @@ -30,7 +30,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class SyntheticObjectsType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlElementWrapper(name = "readonlyColumns") @XmlElement(name = "readonlyColumn") protected List readonlyColumns; diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticPrimaryKeyType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticPrimaryKeyType.java index 326e66d3f8..3dccae640f 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticPrimaryKeyType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticPrimaryKeyType.java @@ -49,7 +49,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class SyntheticPrimaryKeyType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String name; @XmlJavaTypeAdapter(StringAdapter.class) diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticReadonlyColumnType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticReadonlyColumnType.java index 8309ee1870..d618db3d1b 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticReadonlyColumnType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticReadonlyColumnType.java @@ -43,7 +43,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class SyntheticReadonlyColumnType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String tables; @XmlElement(required = true) diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticReadonlyRowidType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticReadonlyRowidType.java index ebf1360047..6ada6c8635 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticReadonlyRowidType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticReadonlyRowidType.java @@ -43,7 +43,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class SyntheticReadonlyRowidType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String name; @XmlJavaTypeAdapter(StringAdapter.class) diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticSynonymType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticSynonymType.java index 46d00d5146..ede900af2b 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticSynonymType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticSynonymType.java @@ -45,7 +45,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class SyntheticSynonymType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String catalog; @XmlJavaTypeAdapter(StringAdapter.class) diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticUniqueKeyType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticUniqueKeyType.java index 1118a2eef1..f597ca4fc8 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticUniqueKeyType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticUniqueKeyType.java @@ -48,7 +48,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class SyntheticUniqueKeyType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String name; @XmlJavaTypeAdapter(StringAdapter.class) diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticViewType.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticViewType.java index 1f38f99349..8c8b327fdd 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticViewType.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/SyntheticViewType.java @@ -46,7 +46,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class SyntheticViewType implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlJavaTypeAdapter(StringAdapter.class) protected String catalog; @XmlJavaTypeAdapter(StringAdapter.class) diff --git a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Target.java b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Target.java index 4808e17feb..736fad2348 100644 --- a/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Target.java +++ b/jOOQ-meta/src/main/java/org/jooq/meta/jaxb/Target.java @@ -28,7 +28,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder; public class Target implements Serializable, XMLAppendable { - private final static long serialVersionUID = 32000L; + private final static long serialVersionUID = 32001L; @XmlElement(defaultValue = "org.jooq.generated") @XmlJavaTypeAdapter(StringAdapter.class) protected String packageName = "org.jooq.generated"; diff --git a/jOOQ-meta/src/main/resources/org/jooq/meta/xsd/jooq-codegen-3.20.0.xsd b/jOOQ-meta/src/main/resources/org/jooq/meta/xsd/jooq-codegen-3.20.0.xsd deleted file mode 100644 index ce8573b544..0000000000 --- a/jOOQ-meta/src/main/resources/org/jooq/meta/xsd/jooq-codegen-3.20.0.xsd +++ /dev/null @@ -1,3413 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TRACE log level.]]> - - - DEBUG log level.]]> - - - INFO log level.]]> - - - WARN log level.]]> - - - ERROR log level.]]> - - - FATAL log level.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - JPADatabase, XMLDatabase, or DDLDatabase, or to pass to JDBC drivers.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -jOOQ internals make a few assumptions about what a {@link org.jooq.Catalog} does, so to minimise -unexpected behaviour, custom catalog super classes should extend {@link org.jooq.impl.CatalogImpl} -and follow its (undocumented!) assumptions (e.g. constructors, etc.). Use this at your own risk.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -jOOQ internals make a few assumptions about what a {@link org.jooq.Schema} does, so to minimise -unexpected behaviour, custom schema super classes should extend {@link org.jooq.impl.SchemaImpl} -and follow its (undocumented!) assumptions (e.g. constructors, etc.). Use this at your own risk.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -jOOQ internals make a few assumptions about what a {@link org.jooq.Table} does, so to minimise -unexpected behaviour, custom table super classes should extend {@link org.jooq.impl.TableImpl} -and follow its (undocumented!) assumptions (e.g. constructors, etc.). Use this at your own risk.]]> - - - - - - - - - - - - - - - - - - - - - - - - -jOOQ internals make a few assumptions about what a {@link org.jooq.TableRecord} does, so to minimise -unexpected behaviour, custom table record super classes should extend {@link org.jooq.impl.TableRecordImpl} -and follow its (undocumented!) assumptions (e.g. constructors, etc.). Use this at your own risk.]]> - - - - - - - - - - - - - - - - - - - - -jOOQ internals make a few assumptions about what a {@link org.jooq.DAO} does, so to minimise -unexpected behaviour, custom DAO super classes should extend {@link org.jooq.impl.DAOImpl} -and follow its (undocumented!) assumptions (e.g. constructors, etc.). Use this at your own risk.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -jOOQ internals make a few assumptions about what a {@link org.jooq.Routine} does, so to minimise -unexpected behaviour, custom routine super classes should extend {@link org.jooq.impl.AbstractRoutine} -and follow its (undocumented!) assumptions (e.g. constructors, etc.). Use this at your own risk.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -jOOQ internals make a few assumptions about what a {@link org.jooq.EmbeddableRecord} does, so to minimise -unexpected behaviour, custom embeddable record super classes should extend {@link org.jooq.impl.EmbeddableRecordImpl} -and follow its (undocumented!) assumptions (e.g. constructors, etc.). Use this at your own risk.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -jOOQ internals make a few assumptions about what a {@link org.jooq.UDT} does, so to minimise -unexpected behaviour, custom table super classes should extend {@link org.jooq.impl.UDTImpl} -and follow its (undocumented!) assumptions (e.g. constructors, etc.). Use this at your own risk.]]> - - - - - - - - - - - - -jOOQ internals make a few assumptions about what a {@link org.jooq.UDTRecord} does, so to minimise -unexpected behaviour, custom UDT record super classes should extend {@link org.jooq.impl.UDTPathTableFieldImpl} -and follow its (undocumented!) assumptions (e.g. constructors, etc.). Use this at your own risk.]]> - - - - - - - - - - - - -jOOQ internals make a few assumptions about what a {@link org.jooq.UDTRecord} does, so to minimise -unexpected behaviour, custom UDT record super classes should extend {@link org.jooq.impl.UDTRecordImpl} -and follow its (undocumented!) assumptions (e.g. constructors, etc.). Use this at your own risk.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - org.util.[database].[database]Database. -

-Natively supported values are: -

    -
  • {@link org.jooq.meta.ase.ASEDatabase}
  • -
  • {@link org.jooq.meta.cockroachdb.CockroachDBDatabase}
  • -
  • {@link org.jooq.meta.db2.DB2Database}
  • -
  • {@link org.jooq.meta.derby.DerbyDatabase}
  • -
  • {@link org.jooq.meta.firebird.FirebirdDatabase}
  • -
  • {@link org.jooq.meta.h2.H2Database}
  • -
  • {@link org.jooq.meta.hana.HanaDatabase}
  • -
  • {@link org.jooq.meta.hsqldb.HSQLDBDatabase}
  • -
  • {@link org.jooq.meta.informix.InformixDatabase}
  • -
  • {@link org.jooq.meta.ingres.IngresDatabase}
  • -
  • {@link org.jooq.meta.mariadb.MariaDBDatabase}
  • -
  • {@link org.jooq.meta.mysql.MySQLDatabase}
  • -
  • {@link org.jooq.meta.oracle.OracleDatabase}
  • -
  • {@link org.jooq.meta.postgres.PostgresDatabase}
  • -
  • {@link org.jooq.meta.redshift.RedshiftDatabase}
  • -
  • {@link org.jooq.meta.sqlite.SQLiteDatabase}
  • -
  • {@link org.jooq.meta.sqlserver.SQLServerDatabase}
  • -
  • {@link org.jooq.meta.sybase.SybaseDatabase}
  • -
  • {@link org.jooq.meta.vertica.VerticaDatabase}
  • -
  • {@link org.jooq.meta.yugabytedb.YugabyteDBDatabase}
  • -
-

-This value can be used to reverse-engineer generic JDBC DatabaseMetaData (e.g. for MS Access). -

    -
  • {@link org.jooq.meta.jdbc.JDBCDatabase}
  • -
-

-This value can be used to reverse-engineer standard jOOQ-meta XML formats. -

    -
  • {@link org.jooq.meta.xml.XMLDatabase}
  • -
-

-This value can be used to reverse-engineer JPA annotated entities -

    -
  • {@link org.jooq.meta.extensions.jpa.JPADatabase}
  • -
-

-You can also provide your own org.jooq.meta.Database implementation -here, if your database is currently not supported]]> - - - - - - - - -Known supported properties include: -

-

    -
  • {@link org.jooq.meta.xml.XMLDatabase}

    -

    dialect=ORACLE
    -xml-file=C:\path\to\database.xml
    -xsl-files=C:\path\to\1.xsl,C:\path\to\2.xsl
  • -
  • {@link org.jooq.meta.extensions.jpa.JPADatabase}

    -

    packages=com.example.entities
  • -
  • {@link org.jooq.meta.extensions.ddl.DDLDatabase}

    -

    scripts=C:\path\to\database.sql
    -encoding=UTF-8
  • -
]]>
-
- - - -The default value is "COMMENTS CASE_INSENSITIVE"]]> - - - - - - - - - - - - -This is a Java regular expression. Use the pipe to separate several expressions. -Watch out for case-sensitivity. Depending on your database, this might be -important! -

-You can create case-insensitive regular expressions -using this syntax: (?i:expr) -

-Whitespace is ignored and comments are possible unless overridden in {@link #getRegexFlags()}.]]> - - - - -This is a query that produces Java regular expressions, which are appended to the ones produced by includes. -Watch out for case-sensitivity. Depending on your database, this might be -important! -

-You can create case-insensitive regular expressions -using this syntax: (?i:expr) -

-Whitespace is ignored and comments are possible unless overridden in {@link #getRegexFlags()}. -

-Excludes match before includes, i.e. excludes have a higher priority.]]> - - - - -This is a Java regular expression. Use the pipe to separate several expressions. -Excludes match before includes, i.e. excludes have a higher priority.]]> - - - - -This is a query that produces Java regular expressions, which are appended to the ones produced by excludes. -Watch out for case-sensitivity. Depending on your database, this might be -important! -

-You can create case-insensitive regular expressions -using this syntax: (?i:expr) -

-Whitespace is ignored and comments are possible unless overridden in {@link #getRegexFlags()}. -

-Excludes match before includes, i.e. excludes have a higher priority.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -This feature is available in the commercial distribution only.]]> - - - - -This feature is available in the commercial distribution only.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -This feature is available in the commercial distribution only.]]> - - - - -This is a Java regular expression. Use the pipe to separate several expressions. -See {@link org.jooq.UpdatableRecord#store()} and {@link org.jooq.UpdatableRecord#delete()} for details about optimistic locking.]]> - - - - -This is a Java regular expression. Use the pipe to separate several expressions. -See {@link org.jooq.UpdatableRecord#store()} and {@link org.jooq.UpdatableRecord#delete()} for details about optimistic locking.]]> - - - - -This feature is available in the commercial distribution only.]]> - - - - - - - - -To be used if columns are not detected as automatically as identities.]]> - - - - -To be used with: -

    -
  • {@link org.jooq.UpdatableRecord#store()}
  • -
  • {@link org.jooq.UpdatableRecord#update()}
  • -
  • {@link org.jooq.UpdatableRecord#delete()}
  • -
  • {@link org.jooq.UpdatableRecord#refresh()}
  • -
-

-Synthetic primary keys will override existing primary keys.]]> - - - - -To be used with: -

    -
  • {@link org.jooq.UpdatableRecord#store()}
  • -
  • {@link org.jooq.UpdatableRecord#update()}
  • -
  • {@link org.jooq.UpdatableRecord#delete()}
  • -
  • {@link org.jooq.UpdatableRecord#refresh()}
  • -
-

-If several keys match, a warning is emitted and the first one encountered will be used. -

-This flag will also replace synthetic primary keys, if it matches.]]> - - - - - - - - - - - -In jOOQ 3.6.0, #4106 was implemented to support Transact-SQL's -optional return values from stored procedures. This turns all procedures -into Routine (instead of Routine). For backwards- -compatibility reasons, users can suppress this change in jOOQ 3.x -

-@deprecated This feature is deprecated as of jOOQ 3.6.0 and will be removed again in -jOOQ 4.0.]]> - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - - - - -This cannot be combined with the {@link #getCatalogs()} configuration element. -If left empty (and without any {@link #getCatalogs()} configuration element), jOOQ will generate all available catalogs.]]> - - - - -Use this to override your local development -catalog name for source code generation. If not specified, this -will be the same as {@link #getInputCatalog()} -

-This will be ignored if {@link #isOutputCatalogToDefault()} is set to true]]> - - - - - - - - -This cannot be combined with the {@link #getSchemata()} configuration element. -If left empty (and without any {@link #getSchemata()} configuration element), jOOQ will generate all available schemata.]]> - - - - -Use this to override your local development -schema name for source code generation. If not specified, this -will be the same as {@link #getInputSchema()}. - -This will be ignored if {@link #isOutputSchemaToDefault()} is set to true]]> - - - - - - - - -This configuration element cannot be used at the same time as the {@link #getSchemata()} configuration element.]]> - - - - -Using this configuration element in an enviroment that supports multiple -catalogs means that all catalogs are generated. -

-This configuration element cannot be used at the same time as the {@link #getCatalogs()} configuration element.]]> - - - - -There are three operation modes for this element: -

    -
  • The value is a class that can be found on the classpath and that implements - {@link org.jooq.meta.SchemaVersionProvider}. Such classes must provide a default constructor
  • -
  • The value is a SELECT statement that returns one record with one column. The - SELECT statement may contain a named variable called :schema_name
  • -
  • The value is a constant, such as a Maven property
  • -
-

-Schema versions will be generated into the {@link javax.annotation.processing.Generated} annotation on -generated artefacts.]]> - - - - -There are three operation modes for this element: -

    -
  • The value is a class that can be found on the classpath and that implements - {@link org.jooq.meta.CatalogVersionProvider}. Such classes must provide a default constructor
  • -
  • The value is a SELECT statement that returns one record with one column. The - SELECT statement may contain a named variable called :catalog_name
  • -
  • The value is a constant, such as a Maven property
  • -

    -Catalog versions will be generated into the {@link javax.annotation.processing.Generated} annotation on -generated artefacts.]]> - - - - -This comparator can be used to influence the order of any object that is produced by jOOQ meta, and thus, indirectly, the order of declared objects in generated code.]]> - - - - - - - - -This feature is available in the commercial distribution only.]]> - - - - -This feature is available in the commercial distribution only.]]> - - - - -This feature is available in the commercial distribution only.]]> - - - - -This feature is available in the commercial distribution only.]]> - - - - -This feature is available in the commercial distribution only.]]> - - - - -This feature is available in the commercial distribution only.]]> - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - - - - -This feature is available in the commercial distribution only.]]> - - - - - - - - -If this is deactivated, such functions are not generated as tables, but -as ordinary routines. This is particularly useful for backwards- -compatibility between jOOQ 3.8 and previous versions, when using TABLE -and VARRAY types in Oracle. -

    -While this flag defaults to true for most databases, it defaults to false -for Oracle.]]> - - - - - - - - - - - - - - - - - - - - - - - - -This feature is available in the commercial distribution only.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -This feature is available in the commercial distribution only.]]> - - - - -This feature is available in the commercial distribution only.]]> - - - - -This feature is available in the commercial distribution only.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ROWID column should be generated. -

    -Use this along with the synthetic primary key feature to replace existing primary key usage by ROWID usage, if this makes sense for your {@link UpdatableRecord}.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 'some string', not some string]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SELECT DISTINCT matched_column FROM matched_table).]]> - - - - CHECK constraints for the matched column, if possible.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -This feature is available in the commercial distribution only.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - -This feature is available in the commercial distribution only.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -This feature is available in the commercial distribution only.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @java.lang.Deprecated - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -If provided, {@link #getName()} will be ignored, and either {@link #getConverter()} -or {@link #getBinding()} is required]]> - - - - -This has no effect on matched objects that are not columns. -

    -This feature is available in the commercial distribution only.]]> - - - - -This has no effect on matched objects that are not columns. -

    -This feature is available in the commercial distribution only.]]> - - - - -This has no effect on matched objects that are not columns. -

    -This feature is available in the commercial distribution only.]]> - - - - -This flag produces a {@link #generator} configuration, so it cannot be combined with a custom generator. The different audit flags are mutually exclusive. -

    -This feature is available in the commercial distribution only.]]> - - - - -This flag produces a {@link #generator} configuration, so it cannot be combined with a custom generator. The different audit flags are mutually exclusive. -

    -This feature is available in the commercial distribution only.]]> - - - - -This flag produces a {@link #generator} configuration, so it cannot be combined with a custom generator. The different audit flags are mutually exclusive. -

    -This feature is available in the commercial distribution only.]]> - - - - -This flag produces a {@link #generator} configuration, so it cannot be combined with a custom generator. The different audit flags are mutually exclusive. -

    -This feature is available in the commercial distribution only.]]> - - - - - - - - <T, U> type variables as well as Class<T> and Class<U> constructor arguments.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - <T, U> type variables as well as Class<T> and Class<U> constructor arguments.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -When a child table has only one {@link org.jooq.meta.ForeignKeyDefinition} towards a -parent table, then that path is "unambiguous." In that case, some -{@link GeneratorStrategy} implementations may choose to use the parent -table's {@link org.jooq.meta.TableDefinition} for implementations of -{@link org.jooq.codegen.GeneratorStrategy#getJavaMethodName(Definition)}, instead of the -{@link org.jooq.meta.ForeignKeyDefinition}, e.g. for implicit join paths. -

    -This flag allows for turning off this default behaviour.]]> - - - - - - - - - - - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - - - - - - - - date attribute.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true if {@link #constructorPropertiesAnnotation} is active).]]> - - - - true if {@link #constructorPropertiesAnnotation} is active).]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -This is a Java regular expression. Use the pipe to separate several expressions. -Watch out for case-sensitivity. Depending on your database, this might be -important! -

    -You can create case-insensitive regular expressions -using this syntax: (?i:expr) -

    -Whitespace is ignored and comments are possible unless overridden in {@link #getRegexFlags()}.]]> - - - - -This is a Java regular expression. Use the pipe to separate several expressions. -Watch out for case-sensitivity. Depending on your database, this might be -important! -

    -You can create case-insensitive regular expressions -using this syntax: (?i:expr) -

    -Whitespace is ignored and comments are possible unless overridden in {@link #getRegexFlags()}.]]> - - - - - - - - - - - - - @java.lang.Deprecated - @java.lang.Deprecated - - - - - - - - - - - - - - -This is a Java regular expression. Use the pipe to separate several expressions. -Watch out for case-sensitivity. Depending on your database, this might be -important! -

    -You can create case-insensitive regular expressions -using this syntax: (?i:expr) -

    -Whitespace is ignored and comments are possible unless overridden in {@link #getRegexFlags()}.]]> - - - - -This is a Java regular expression. Use the pipe to separate several expressions. -Watch out for case-sensitivity. Depending on your database, this might be -important! -

    -You can create case-insensitive regular expressions -using this syntax: (?i:expr) -

    -Whitespace is ignored and comments are possible unless overridden in {@link #getRegexFlags()}.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -This is a Java regular expression. Use the pipe to separate several expressions. -Watch out for case-sensitivity. Depending on your database, this might be -important! -

    -You can create case-insensitive regular expressions -using this syntax: (?i:expr) -

    -Whitespace is ignored and comments are possible unless overridden in {@link #getRegexFlags()}.]]> - - - - -This is a Java regular expression. Use the pipe to separate several expressions. -Watch out for case-sensitivity. Depending on your database, this might be -important! -

    -You can create case-insensitive regular expressions -using this syntax: (?i:expr) -

    -Whitespace is ignored and comments are possible unless overridden in {@link #getRegexFlags()}.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - setX() setters instead of setIsX() in byte code for mutable properties called isX.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DefaultCatalog object, which is generated by default in the absence of catalogs.]]> - - - - DefaultSchema object, which is generated by default in the absence of schemas.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -If this flag is set to false, then: -

    -

      -
    • Column name : X_INDEX
    • -
    • Attribute name: xIndex
    • -
    • Getter name : getXIndex()
    • -
    • Setter name : setXIndex()
    • -
    -

    -If this flag is set to true, then: -

      -
    • Getter name : getxIndex()
    • -
    • Setter name : setxIndex()
    • -
    -

    -Custom GeneratorStrategy implementations are unaffected]]> - - - - -This may lead to compilation warnings in current Java versions.]]> - - - - - - - - - - - - -This can be useful if you have a database object that generates a String -class, and you want to avoid naming clashes with the java.lang package -by specifying java\.lang\..*]]> - - - - configurations) should still be generated.]]> - - - - configurations) should still be generated.]]> - - - - -This flag is ignored in the commercial Java 6 distribution of jOOQ 3.9+ ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0.]]> - - - - - - - - - - - - https://github.com/jOOQ/jOOQ/issues/13937) for {@link org.jooq.Table#rename(org.jooq.Name)} and related overloads.]]> - - - - - - - - -This feature is available in the commercial distribution only.]]> - - - - -This feature is available in the commercial distribution only.]]> - - - - -This feature is available in the commercial distribution only.]]> - - - - - - - - - -jOOQ may append the schema name to this package if generating multiple schemas, -e.g. org.jooq.generated.schema1, org.jooq.generated.schema2]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - public visibility (explicit public in Java, nothing in Kotlin, Scala).]]> - - - - - - public visibility modifier is generated, where supported (no modifier is generated in Scala).]]> - - - internal visibility modifier is generated, where supported (or public, otherwise).]]> - - - private visibility modifier is generated. This is useful only for {@link ForcedType}, not as a global configuration.]]> - - - - - - - - Generated annotation should be detected automatically from the JDK used at code generation time.]]> - - - javax.annotation.Generated annotation.]]> - - - javax.annotation.processing.Generated annotation.]]> - - - jakarta.annotation.Generated annotation.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -