[jOOQ/jOOQ#10588] Fixed wrong XSD element name

This commit is contained in:
Lukas Eder 2020-09-10 17:42:06 +02:00
parent e64a4279ff
commit a127ec65ef
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ public class SyntheticObjectsType implements Serializable, XMLAppendable
@XmlElement(name = "uniqueKey")
protected List<SyntheticUniqueKeyType> uniqueKeys;
@XmlElementWrapper(name = "foreignKeys")
@XmlElement(name = "primaryKey")
@XmlElement(name = "foreignKey")
protected List<SyntheticForeignKeyType> foreignKeys;
public List<SyntheticIdentityType> getIdentities() {
@ -177,7 +177,7 @@ public class SyntheticObjectsType implements Serializable, XMLAppendable
builder.append("identities", "identity", identities);
builder.append("primaryKeys", "primaryKey", primaryKeys);
builder.append("uniqueKeys", "uniqueKey", uniqueKeys);
builder.append("foreignKeys", "primaryKey", foreignKeys);
builder.append("foreignKeys", "foreignKey", foreignKeys);
}
@Override

View File

@ -1007,7 +1007,7 @@ for Oracle.]]></jxb:javadoc></jxb:property></appinfo></annotation>
<complexType name="SyntheticForeignKeysType">
<sequence>
<element name="primaryKey" type="tns:SyntheticForeignKeyType" minOccurs="1" maxOccurs="unbounded"/>
<element name="foreignKey" type="tns:SyntheticForeignKeyType" minOccurs="1" maxOccurs="unbounded"/>
</sequence>
</complexType>