diff --git a/jOOQ-codegen/src/main/java/org/jooq/codegen/AbstractGenerator.java b/jOOQ-codegen/src/main/java/org/jooq/codegen/AbstractGenerator.java index ca611d83b5..6d86ca2a81 100644 --- a/jOOQ-codegen/src/main/java/org/jooq/codegen/AbstractGenerator.java +++ b/jOOQ-codegen/src/main/java/org/jooq/codegen/AbstractGenerator.java @@ -71,11 +71,11 @@ abstract class AbstractGenerator implements Generator { boolean generateRelations = true; boolean generateImplicitJoinPathsToOne = true; boolean generateImplicitJoinPathsAsKotlinProperties = true; - boolean generateExistsConvenienceOneToMany = true; - boolean generateExistsConvenienceManyToMany = true; - boolean generateRowConvenienceToOne = true; - boolean generateMultisetConvenienceOneToMany = true; - boolean generateMultisetConvenienceManyToMany = true; + boolean generateExistsConvenienceOneToMany = false; + boolean generateExistsConvenienceManyToMany = false; + boolean generateRowConvenienceToOne = false; + boolean generateMultisetConvenienceOneToMany = false; + boolean generateMultisetConvenienceManyToMany = false; boolean generateInstanceFields = true; VisibilityModifier generateVisibilityModifier = VisibilityModifier.DEFAULT; boolean generateGeneratedAnnotation = false; 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 40a0a8af46..71e7804579 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 @@ -42,16 +42,16 @@ public class Generate implements Serializable, XMLAppendable protected Boolean implicitJoinPathsUseTableNameForUnambiguousFKs = true; @XmlElement(defaultValue = "true") protected Boolean implicitJoinPathsAsKotlinProperties = true; - @XmlElement(defaultValue = "true") - protected Boolean existsConvenienceOneToMany = true; - @XmlElement(defaultValue = "true") - protected Boolean existsConvenienceManyToMany = true; - @XmlElement(defaultValue = "true") - protected Boolean rowConvenienceToOne = true; - @XmlElement(defaultValue = "true") - protected Boolean multisetConvenienceOneToMany = true; - @XmlElement(defaultValue = "true") - protected Boolean multisetConvenienceManyToMany = true; + @XmlElement(defaultValue = "false") + protected Boolean existsConvenienceOneToMany = false; + @XmlElement(defaultValue = "false") + protected Boolean existsConvenienceManyToMany = false; + @XmlElement(defaultValue = "false") + protected Boolean rowConvenienceToOne = false; + @XmlElement(defaultValue = "false") + protected Boolean multisetConvenienceOneToMany = false; + @XmlElement(defaultValue = "false") + protected Boolean multisetConvenienceManyToMany = false; @XmlElement(defaultValue = "true") protected Boolean deprecated = true; @XmlElement(defaultValue = "true") @@ -399,6 +399,8 @@ public class Generate implements Serializable, XMLAppendable /** * Generate EXISTS convenience syntax for one-to-many relationships. *

+ * This is EXPERIMENTAL functionality. Please expect the API and implementations to change, in the future. + *

* This feature is available in the commercial distribution only. * * @return @@ -425,6 +427,8 @@ public class Generate implements Serializable, XMLAppendable /** * Generate EXISTS convenience syntax for many-to-many relationships. A many-to-many relationship is achieved when a child table has 2 non-nullable foreign keys that are part of a unique key. *

+ * This is EXPERIMENTAL functionality. Please expect the API and implementations to change, in the future. + *

* This feature is available in the commercial distribution only. * * @return @@ -451,6 +455,8 @@ public class Generate implements Serializable, XMLAppendable /** * Generate ROW convenience syntax for to-one relationships. *

+ * This is EXPERIMENTAL functionality. Please expect the API and implementations to change, in the future. + *

* This feature is available in the commercial distribution only. * * @return @@ -477,6 +483,8 @@ public class Generate implements Serializable, XMLAppendable /** * Generate MULTISET convenience syntax for one-to-many relationships. *

+ * This is EXPERIMENTAL functionality. Please expect the API and implementations to change, in the future. + *

* This feature is available in the commercial distribution only. * * @return @@ -503,6 +511,8 @@ public class Generate implements Serializable, XMLAppendable /** * Generate MULTISET convenience syntax for many-to-many relationships. A many-to-many relationship is achieved when a child table has 2 non-nullable foreign keys that are part of a unique key. *

+ * This is EXPERIMENTAL functionality. Please expect the API and implementations to change, in the future. + *

* This feature is available in the commercial distribution only. * * @return diff --git a/jOOQ-meta/src/main/resources/org/jooq/meta/xsd/jooq-codegen-3.17.0.xsd b/jOOQ-meta/src/main/resources/org/jooq/meta/xsd/jooq-codegen-3.17.0.xsd index aa6f86cd22..f285d176e6 100644 --- a/jOOQ-meta/src/main/resources/org/jooq/meta/xsd/jooq-codegen-3.17.0.xsd +++ b/jOOQ-meta/src/main/resources/org/jooq/meta/xsd/jooq-codegen-3.17.0.xsd @@ -1854,33 +1854,43 @@ This flag allows for turning off this default behaviour.]]> - + EXISTS convenience syntax for one-to-many relationships.

+This is EXPERIMENTAL functionality. Please expect the API and implementations to change, in the future. +

This feature is available in the commercial distribution only.]]> - + EXISTS convenience syntax for many-to-many relationships. A many-to-many relationship is achieved when a child table has 2 non-nullable foreign keys that are part of a unique key.

+This is EXPERIMENTAL functionality. Please expect the API and implementations to change, in the future. +

This feature is available in the commercial distribution only.]]> - + ROW convenience syntax for to-one relationships.

-This feature is available in the commercial distribution only.]]> - - - - MULTISET convenience syntax for one-to-many relationships. +This is EXPERIMENTAL functionality. Please expect the API and implementations to change, in the future.

This feature is available in the commercial distribution only.]]> - + + MULTISET convenience syntax for one-to-many relationships. +

+This is EXPERIMENTAL functionality. Please expect the API and implementations to change, in the future. +

+This feature is available in the commercial distribution only.]]> + + + MULTISET convenience syntax for many-to-many relationships. A many-to-many relationship is achieved when a child table has 2 non-nullable foreign keys that are part of a unique key.

+This is EXPERIMENTAL functionality. Please expect the API and implementations to change, in the future. +

This feature is available in the commercial distribution only.]]>