<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>I am building XSD where i need to map My -SQL ENUM  data type .  I tried like be</title><link>https://community.appian.com/discussions/f/integrations/2908/i-am-building-xsd-where-i-need-to-map-my--sql-enum-data-type-i-tried-like-be</link><description>I am building XSD where i need to map My -SQL ENUM data type . I tried like below but Appian doesn&amp;#39;t recognize it as enum type _______________________________________________ &amp;lt;xsd:element name=&amp;quot;car&amp;quot;&amp;gt; &amp;lt;xsd:simpleType&amp;gt; &amp;lt;xsd:restriction base=&amp;quot;xsd:string</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I am building XSD where i need to map My -SQL ENUM  data type .  I tried like be</title><link>https://community.appian.com/thread/10207?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2014 23:27:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:19b67d8a-b84b-47c8-8a5f-0250ecc685be</guid><dc:creator>Aleksi White</dc:creator><description>It is not mentioned explicitly, but enumerations and other facets of a type defined in XSD are ignored when converting that XSD to a custom data type in Appian.  If the data type cannot be mapped to an existing system or custom data type, the element is converted to a string.&lt;br /&gt;&lt;br /&gt;The reason behind this exclusion is relating to the display and validation of your custom data. Appian can not account for the infinte possibilities of validating against enumerated data or the possibility of having to develop a display in the interface for each.  This does seem like something that should be clarified in the documentation.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am building XSD where i need to map My -SQL ENUM  data type .  I tried like be</title><link>https://community.appian.com/thread/10206?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2014 23:23:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:98f7645c-1ecd-43ee-a926-42b0148cf868</guid><dc:creator>vineeta6579</dc:creator><description>May be .. But in documentation they have mentioned about @Enumerated JPA annotation but Havant provided any sample!!!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am building XSD where i need to map My -SQL ENUM  data type .  I tried like be</title><link>https://community.appian.com/thread/10205?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2014 23:10:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4cccdd7d-0d45-4628-9b94-61c9874bf2eb</guid><dc:creator>Aleksi White</dc:creator><description>The structure in the XSD will map to a CDT.  The CDT structure has no way of supporting an enumerated class, so it can&amp;#39;t map to a DB table with an enum.  Looking at the custom data type documentation, there is no mapping for an enum, so this won&amp;#39;t be possible.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am building XSD where i need to map My -SQL ENUM  data type .  I tried like be</title><link>https://community.appian.com/thread/10204?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2014 23:01:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:11d49b73-6eda-457d-a88c-e9b4a45c6d62</guid><dc:creator>vineeta6579</dc:creator><description>Yes Appian is not recognizing it and considering it as text only. &lt;br /&gt;Any workaround..&lt;br /&gt; how I can create xsd to map my existing database table. For yours reference I am attaching table structure screenshot again..  &lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/18/table.JPG"&gt;&lt;img src="/cfs-filesystemfile/__key/communityserver-discussions-components-files/18/table.JPG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am building XSD where i need to map My -SQL ENUM  data type .  I tried like be</title><link>https://community.appian.com/thread/10203?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2014 22:57:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:902034a0-3165-4661-9eda-e4cbc8183871</guid><dc:creator>Aleksi White</dc:creator><description>The enum type won&amp;#39;t map explicitly to one of the Appian types.  This is something we haven&amp;#39;t tested before, but it looks like the reason Appian is ignoring the enum and reading this as a string is because there is no equivalent enum type for Appian&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am building XSD where i need to map My -SQL ENUM  data type .  I tried like be</title><link>https://community.appian.com/thread/10202?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2014 22:55:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c1c783da-baf7-43a4-a91d-d9838bb0a3cb</guid><dc:creator>vineeta6579</dc:creator><description>After importing xsd have you tried to create data store and published it.. In my case It shows error when I tried to publish.&lt;br /&gt;Yes I am using 7.5&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am building XSD where i need to map My -SQL ENUM  data type .  I tried like be</title><link>https://community.appian.com/thread/10201?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2014 22:50:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bc018f7d-02d8-4688-807b-70f9f44afa3e</guid><dc:creator>vineeta6579</dc:creator><description>Yes. instead of taking it as enum its taking it as text. [See the attached screenshot]&lt;br /&gt; &lt;br /&gt;In my case I have already existing db with gender as enum type and importing the above data type is creating new table instead of referring to the existing table.. &lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/18/5775.error2.png"&gt;&lt;img src="/cfs-filesystemfile/__key/communityserver-discussions-components-files/18/5775.error2.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am building XSD where i need to map My -SQL ENUM  data type .  I tried like be</title><link>https://community.appian.com/thread/10200?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2014 22:44:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:445ce322-d353-4988-8832-c97113213090</guid><dc:creator>Aleksi White</dc:creator><description>I was able to import and map this without issue in 7.5 (the enum facet was ignored).  What version of Appian are you doing this in?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am building XSD where i need to map My -SQL ENUM  data type .  I tried like be</title><link>https://community.appian.com/thread/10199?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2014 22:05:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:27a8b045-89fd-4c4a-a698-de97a9ea0a4b</guid><dc:creator>vineeta6579</dc:creator><description>I tried every possible combination but not working&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am building XSD where i need to map My -SQL ENUM  data type .  I tried like be</title><link>https://community.appian.com/thread/10198?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2014 21:51:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c5d73bb1-c256-4a4b-afc9-b54e46a9cabd</guid><dc:creator>Aleksi White</dc:creator><description>Try adding the constant you mention and see if that works&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am building XSD where i need to map My -SQL ENUM  data type .  I tried like be</title><link>https://community.appian.com/thread/10195?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2014 20:44:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:69be1465-458c-41f6-97e6-26a37f148618</guid><dc:creator>vineeta6579</dc:creator><description>Attached table sql. &lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/18/employee.sql"&gt;employee.sql&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am building XSD where i need to map My -SQL ENUM  data type .  I tried like be</title><link>https://community.appian.com/thread/10193?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2014 20:04:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:91041ecb-be41-4f88-9115-3fc8c4b107ad</guid><dc:creator>vineeta6579</dc:creator><description>Attached: Error screenshot &lt;br /&gt;&lt;br /&gt;When i click on Verify it show error .&lt;br /&gt;I think its because i am not providing enum constant (M,F) in xsd file.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/18/error2.png"&gt;&lt;img src="/cfs-filesystemfile/__key/communityserver-discussions-components-files/18/error2.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am building XSD where i need to map My -SQL ENUM  data type .  I tried like be</title><link>https://community.appian.com/thread/10192?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2014 19:55:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd115f9b-c589-4684-a8bd-80199e65c0b9</guid><dc:creator>Aleksi White</dc:creator><description>What is the specific error you are getting?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am building XSD where i need to map My -SQL ENUM  data type .  I tried like be</title><link>https://community.appian.com/thread/10190?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2014 19:48:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:10118c67-e245-4445-ad0c-dc6ee7449951</guid><dc:creator>vineeta6579</dc:creator><description>Yes I tried this also. but it shows annotation validation error while creating data store..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;xsd:element form=&amp;quot;qualified&amp;quot; name=&amp;quot;gender&amp;quot; type=&amp;quot;xsd:string&amp;quot;&amp;gt;&lt;br /&gt;        &amp;lt;xsd:annotation&amp;gt;&lt;br /&gt;          &amp;lt;xsd:appinfo source=&amp;quot;appian.jpa&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;@Enumerated(EnumType.STRING)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/xsd:appinfo&amp;gt;&lt;br /&gt;        &amp;lt;/xsd:annotation&amp;gt;&lt;br /&gt;      &amp;lt;/xsd:element&amp;gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am building XSD where i need to map My -SQL ENUM  data type .  I tried like be</title><link>https://community.appian.com/thread/10188?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2014 19:46:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9cc9e9b2-1f9e-4980-8383-4a0204cb41aa</guid><dc:creator>Aleksi White</dc:creator><description>Did you use the @Enumerated annotation?&lt;br /&gt;&lt;a href="https://forum.appian.com/suite/wiki/75/Defining_a_Custom_Data_Type"&gt;forum.appian.com/.../Defining_a_Custom_Data_Type&lt;/a&gt;&lt;br /&gt;Under the section &amp;quot;Using Annotations in Your XSD&amp;quot;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am building XSD where i need to map My -SQL ENUM  data type .  I tried like be</title><link>https://community.appian.com/thread/10180?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2014 16:53:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:903f97f8-cc5f-4c74-ab09-6e896085260c</guid><dc:creator>vineeta6579</dc:creator><description>.&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/18/emp.xsd"&gt;emp.xsd&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>