I am building XSD where i need to map My -SQL ENUM data type . I tried like be

I am building XSD where i need to map My -SQL ENUM data type . I tried like below but Appian doesn't recognize it as enum type
_______________________________________________
<xsd:element name="car">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Audi"/>
<xsd:enumeration value="Golf"/>
<xsd:enumeration value="BMW"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
____________________________________________________


Attached: XSD and table structure.....

OriginalPostID-113805

OriginalPostID-113805

  Discussion posts and replies are publicly visible

Parents
  • Yes I tried this also. but it shows annotation validation error while creating data store..


    <xsd:element form="qualified" name="gender" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="appian.jpa">
                                                      @Enumerated(EnumType.STRING)
                                                      </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
Reply
  • Yes I tried this also. but it shows annotation validation error while creating data store..


    <xsd:element form="qualified" name="gender" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="appian.jpa">
                                                      @Enumerated(EnumType.STRING)
                                                      </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
Children
No Data