[jOOQ/jOOQ#13069] Deactivate the experimental feature for now

This commit is contained in:
Lukas Eder 2022-06-03 10:39:58 +02:00
parent 1d943c9f58
commit 4c92db68c6
3 changed files with 44 additions and 24 deletions

View File

@ -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;

View File

@ -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 <code>EXISTS</code> convenience syntax for one-to-many relationships.
* <p>
* This is EXPERIMENTAL functionality. Please expect the API and implementations to change, in the future.
* <p>
* This feature is available in the commercial distribution only.
*
* @return
@ -425,6 +427,8 @@ public class Generate implements Serializable, XMLAppendable
/**
* Generate <code>EXISTS</code> 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.
* <p>
* This is EXPERIMENTAL functionality. Please expect the API and implementations to change, in the future.
* <p>
* This feature is available in the commercial distribution only.
*
* @return
@ -451,6 +455,8 @@ public class Generate implements Serializable, XMLAppendable
/**
* Generate <code>ROW</code> convenience syntax for to-one relationships.
* <p>
* This is EXPERIMENTAL functionality. Please expect the API and implementations to change, in the future.
* <p>
* This feature is available in the commercial distribution only.
*
* @return
@ -477,6 +483,8 @@ public class Generate implements Serializable, XMLAppendable
/**
* Generate <code>MULTISET</code> convenience syntax for one-to-many relationships.
* <p>
* This is EXPERIMENTAL functionality. Please expect the API and implementations to change, in the future.
* <p>
* This feature is available in the commercial distribution only.
*
* @return
@ -503,6 +511,8 @@ public class Generate implements Serializable, XMLAppendable
/**
* Generate <code>MULTISET</code> 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.
* <p>
* This is EXPERIMENTAL functionality. Please expect the API and implementations to change, in the future.
* <p>
* This feature is available in the commercial distribution only.
*
* @return

View File

@ -1854,33 +1854,43 @@ This flag allows for turning off this default behaviour.]]></jxb:javadoc></jxb:p
<annotation><appinfo><jxb:property><jxb:javadoc><![CDATA[Whether implicit join path constructors should be offered as properties in Kotlin.]]></jxb:javadoc></jxb:property></appinfo></annotation>
</element>
<element name="existsConvenienceOneToMany" type="boolean" default="true" minOccurs="0" maxOccurs="1">
<element name="existsConvenienceOneToMany" type="boolean" default="false" minOccurs="0" maxOccurs="1">
<annotation><appinfo><jxb:property><jxb:javadoc><![CDATA[Generate <code>EXISTS</code> convenience syntax for one-to-many relationships.
<p>
This is EXPERIMENTAL functionality. Please expect the API and implementations to change, in the future.
<p>
This feature is available in the commercial distribution only.]]></jxb:javadoc></jxb:property></appinfo></annotation>
</element>
<element name="existsConvenienceManyToMany" type="boolean" default="true" minOccurs="0" maxOccurs="1">
<element name="existsConvenienceManyToMany" type="boolean" default="false" minOccurs="0" maxOccurs="1">
<annotation><appinfo><jxb:property><jxb:javadoc><![CDATA[Generate <code>EXISTS</code> 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.
<p>
This is EXPERIMENTAL functionality. Please expect the API and implementations to change, in the future.
<p>
This feature is available in the commercial distribution only.]]></jxb:javadoc></jxb:property></appinfo></annotation>
</element>
<element name="rowConvenienceToOne" type="boolean" default="true" minOccurs="0" maxOccurs="1">
<element name="rowConvenienceToOne" type="boolean" default="false" minOccurs="0" maxOccurs="1">
<annotation><appinfo><jxb:property><jxb:javadoc><![CDATA[Generate <code>ROW</code> convenience syntax for to-one relationships.
<p>
This feature is available in the commercial distribution only.]]></jxb:javadoc></jxb:property></appinfo></annotation>
</element>
<element name="multisetConvenienceOneToMany" type="boolean" default="true" minOccurs="0" maxOccurs="1">
<annotation><appinfo><jxb:property><jxb:javadoc><![CDATA[Generate <code>MULTISET</code> convenience syntax for one-to-many relationships.
This is EXPERIMENTAL functionality. Please expect the API and implementations to change, in the future.
<p>
This feature is available in the commercial distribution only.]]></jxb:javadoc></jxb:property></appinfo></annotation>
</element>
<element name="multisetConvenienceManyToMany" type="boolean" default="true" minOccurs="0" maxOccurs="1">
<element name="multisetConvenienceOneToMany" type="boolean" default="false" minOccurs="0" maxOccurs="1">
<annotation><appinfo><jxb:property><jxb:javadoc><![CDATA[Generate <code>MULTISET</code> convenience syntax for one-to-many relationships.
<p>
This is EXPERIMENTAL functionality. Please expect the API and implementations to change, in the future.
<p>
This feature is available in the commercial distribution only.]]></jxb:javadoc></jxb:property></appinfo></annotation>
</element>
<element name="multisetConvenienceManyToMany" type="boolean" default="false" minOccurs="0" maxOccurs="1">
<annotation><appinfo><jxb:property><jxb:javadoc><![CDATA[Generate <code>MULTISET</code> 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.
<p>
This is EXPERIMENTAL functionality. Please expect the API and implementations to change, in the future.
<p>
This feature is available in the commercial distribution only.]]></jxb:javadoc></jxb:property></appinfo></annotation>
</element>