[jOOQ/jOOQ#17474] Table is mandatory

This commit is contained in:
Lukas Eder 2024-10-22 16:17:20 +02:00
parent cd27f7e3fd
commit 32e468445b
2 changed files with 3 additions and 2 deletions

View File

@ -25,7 +25,7 @@ import org.jooq.util.jaxb.tools.XMLBuilder;
* <element name="catalog" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="schema" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="table" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="table" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="ignoreUnused" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </all>
* </restriction>
@ -53,6 +53,7 @@ public class SyntheticSynonymType implements Serializable, XMLAppendable
@XmlElement(required = true)
@XmlJavaTypeAdapter(StringAdapter.class)
protected String name;
@XmlElement(required = true)
@XmlJavaTypeAdapter(StringAdapter.class)
protected String table;
@XmlElement(defaultValue = "false")

View File

@ -1856,7 +1856,7 @@ This feature is available in the commercial distribution only.]]></jxb:javadoc><
<annotation><appinfo><jxb:property><jxb:javadoc><![CDATA[The synonym name.]]></jxb:javadoc></jxb:property></appinfo></annotation>
</element>
<element name="table" type="string" minOccurs="0" maxOccurs="1">
<element name="table" type="string" minOccurs="1" maxOccurs="1">
<annotation><appinfo><jxb:property><jxb:javadoc><![CDATA[A regular expression matching a table to which to apply this synthetic synonym.]]></jxb:javadoc></jxb:property></appinfo></annotation>
</element>