<?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>How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...</title><link>https://community.appian.com/discussions/f/rules/2331/how-to-specify-the-uniqueidentifier-datatype-of-sql-server-in-xsd-type</link><description>How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?... OriginalPostID-104088 OriginalPostID-104088</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...</title><link>https://community.appian.com/thread/70252?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2019 01:00:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c8bfd814-e4d1-4c4d-89a9-0fb0916dc644</guid><dc:creator>Rama</dc:creator><description>&lt;p&gt;It&amp;#39;s working for me.&lt;/p&gt;
&lt;p&gt;Thank you &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/16035?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2015 08:11:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:104c107e-44c5-47d8-b808-9f8cbb1e06f3</guid><dc:creator>Eduardo Fuentes</dc:creator><description>&lt;a href="https://forum.appian.com/suite/help/7.8/Database_Schema_Best_Practices.html#Composite_Keys"&gt;forum.appian.com/.../Database_Schema_Best_Practices.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/16034?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2015 08:11:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bad11091-01de-4ab4-84ac-451897e26ccb</guid><dc:creator>Eduardo Fuentes</dc:creator><description>I found the problem, for some reason you marked with Id and GeneratedValue two other fields; that&amp;#39;s not supported. You can only mark one field as the primary key. The attached XSD works &lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/15/QueueUnique.xsd"&gt;QueueUnique.xsd&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/16000?ContentTypeID=1</link><pubDate>Fri, 13 Mar 2015 14:54:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e0cfcde1-09f0-4f5b-8b88-eee586e46a1c</guid><dc:creator>vinitl522</dc:creator><description>Hello Eduardo, Thank you for your sample example. Attached is the cdt which ihave created, let me know if the data type uniqueidentifier,bit are appropriate. Also, When Trying to publish it to datastore I get the following error: &amp;quot;Please correct the annotation error and re-import the data type definition.&amp;quot;&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/15/QueueUnique.txt"&gt;QueueUnique.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/15884?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2015 07:53:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2679d871-06fd-47c9-b404-abfe75f31cef</guid><dc:creator>Eduardo Fuentes</dc:creator><description>I confirmed it works for me but you need to make sure you create the table beforehand.&lt;br /&gt;&lt;br /&gt;Attaching sample XSD and video.&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/15/MyUniqueTable.xsd"&gt;MyUniqueTable.xsd&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/15/uniqueIdentifierExample.swf"&gt;uniqueIdentifierExample.swf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/15694?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2015 11:24:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4dc1d072-c34f-4631-b837-536b19395a69</guid><dc:creator>vinitl522</dc:creator><description>We are trying to fetch the data from View only, and yes it is read only.  i havetried creating the table through datastore, but it is displaying to correct the annotation:&lt;br /&gt;&lt;br /&gt;&amp;lt;xsd:element name=&amp;quot;prospectName&amp;quot; nillable=&amp;quot;true&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;@Id&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;@GeneratedValue&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;@Column(name = &amp;quot;prospect_name&amp;quot;, columnDefinition=&amp;quot;uniqueidentifier&amp;quot;)&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;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: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/15693?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2015 11:19:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:77c3bf24-79a3-4d45-a466-0b6a14923531</guid><dc:creator>Eduardo Fuentes</dc:creator><description>If it&amp;#39;s just for reading data try what I said in my previous comment since that passes the validation of the data store. If it doesn&amp;#39;t work you can try creating a view.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/15692?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2015 11:16:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:41e96a1c-65e7-4100-a13c-a60379af18e1</guid><dc:creator>vinitl522</dc:creator><description>But our goal is to get the data as a record using data entity record..........&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/15691?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2015 11:09:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a43f26a5-afb4-40c1-bcdd-daae61aa2a7d</guid><dc:creator>Eduardo Fuentes</dc:creator><description>I would say:&lt;br /&gt;&lt;br /&gt;- Using the Query RDBMS smart service and manually mapping the outputs to a CDT&lt;br /&gt;- Building a custom smart service&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/15690?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2015 11:00:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:31eb885d-4591-46d8-8578-0d0ab30673c3</guid><dc:creator>vinitl522</dc:creator><description>So How can we accomplish this in mapping the cdt to existing db table.&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/15689?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2015 10:53:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fc212f1c-fba7-41ce-8232-5e211294b265</guid><dc:creator>Eduardo Fuentes</dc:creator><description>I just re-read my previous comment and it says: &amp;quot;The following syntax is only compatible at the Hibernate level but not at the JPA level&amp;quot; so definitely these won&amp;#39;t work with JPA. &lt;br /&gt;&lt;br /&gt;This works for validation but still tries to pass the primary key as an empty string in the insert failing to do so&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;@Id&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;@GeneratedValue&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;@Column(name = &amp;quot;UniqueColumn&amp;quot; columnDefinition=&amp;quot;uniqueidentifier&amp;quot;)&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;lt;/xsd:appinfo&amp;gt;&lt;br /&gt;        &amp;lt;/xsd:annotation&amp;gt;&lt;br /&gt;&lt;br /&gt;I think the answer is still the same and JPA doesn&amp;#39;t support this.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/15688?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2015 10:21:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c1b9c6dd-653c-4b2b-8184-738d55c50a2f</guid><dc:creator>vinitl522</dc:creator><description>Getting this error:&lt;br /&gt;&lt;br /&gt;A type mapping annotation is invalid: The eclass: HbAnnotatedEAttribute does not have an efeature for GenericGenerator (APNX-2-4055-000) &lt;br /&gt;&lt;br /&gt;for code: &amp;lt;xsd:element name=&amp;quot;prospectName&amp;quot; nillable=&amp;quot;true&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;  @Id&lt;br /&gt; @GenericGenerator(name = &amp;quot;generator&amp;quot;, strategy = &amp;quot;guid&amp;quot;)&lt;br /&gt; @GeneratedValue(generator = &amp;quot;generator&amp;quot;)&lt;br /&gt; @Column(name = &amp;quot;prospect_name&amp;quot; , columnDefinition=&amp;quot;uniqueidentifier&amp;quot;)&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;lt;/xsd:appinfo&amp;gt;&lt;br /&gt;        &amp;lt;/xsd:annotation&amp;gt;&lt;br /&gt;      &amp;lt;/xsd:element&amp;gt;&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/15686?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2015 10:11:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b14322be-ce0e-4158-b091-9acd1ad642d3</guid><dc:creator>Eduardo Fuentes</dc:creator><description>For your example it would be:&lt;br /&gt;&lt;br /&gt; @Id&lt;br /&gt; @GenericGenerator(name = &amp;quot;generator&amp;quot; strategy = &amp;quot;guid&amp;quot;)&lt;br /&gt; @GeneratedValue(generator = &amp;quot;generator&amp;quot;)&lt;br /&gt; @Column(name = &amp;quot;prospect_name&amp;quot; columnDefinition=&amp;quot;uniqueidentifier&amp;quot;)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/15685?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2015 10:11:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1c40d7df-cf6e-42b9-a5eb-4b05b9eb0791</guid><dc:creator>Eduardo Fuentes</dc:creator><description>@Id&lt;br /&gt; @GenericGenerator(name = &amp;quot;generator&amp;quot;, strategy = &amp;quot;guid&amp;quot;)&lt;br /&gt; @GeneratedValue(generator = &amp;quot;generator&amp;quot;)&lt;br /&gt; @Column(name = &amp;quot;APPLICATION_ID&amp;quot; , columnDefinition=&amp;quot;uniqueidentifier&amp;quot;)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/15684?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2015 10:10:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:91cfc570-d9c9-4e51-ac2c-c8199f2c1a12</guid><dc:creator>Eduardo Fuentes</dc:creator><description>@Id&lt;br /&gt;Try this instead:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; @GenericGenerator(name = &amp;quot;generator&amp;quot;, strategy = &amp;quot;guid&amp;quot;)&lt;br /&gt; @GeneratedValue(generator = &amp;quot;generator&amp;quot;)&lt;br /&gt; @Column(name = &amp;quot;APPLICATION_ID&amp;quot; , columnDefinition=&amp;quot;uniqueidentifier&amp;quot;)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/15683?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2015 10:07:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e11ae76b-f00d-4926-8a1f-27fc522f3e94</guid><dc:creator>vinitl522</dc:creator><description>hello eduardo, when trying to use above annotation, and trying to import the cdt, get the below error:&lt;br /&gt;A type mapping annotation is invalid: Found Array End (}) but expected one of : Annotation, Value (e.g. String, int), Attribute Name. @Id @GenericGenerator(name = &amp;quot;generator&amp;quot;, strategy = &amp;quot;guid&amp;quot;, parameters = {}_) @GeneratedValue(generator = &amp;quot;generator&amp;quot;) @Column(name = &amp;quot;prospect_name&amp;quot;, columnDefinition=&amp;quot;uniqueidentifier&amp;quot;) Current lexeme: } (APNX-2-4055-000) &lt;br /&gt;&lt;br /&gt;Below is the column, that i am trying to map a column:&lt;br /&gt;&lt;br /&gt;&amp;lt;xsd:element name=&amp;quot;prospectName&amp;quot; nillable=&amp;quot;true&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;  @Id&lt;br /&gt; @GenericGenerator(name = &amp;quot;generator&amp;quot;, strategy = &amp;quot;guid&amp;quot;, parameters = {})&lt;br /&gt; @GeneratedValue(generator = &amp;quot;generator&amp;quot;)&lt;br /&gt; @Column(name = &amp;quot;prospect_name&amp;quot;, columnDefinition=&amp;quot;uniqueidentifier&amp;quot;)&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;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: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/15681?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2015 08:57:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:560d21ce-297f-49fe-b5af-3366f8f5085e</guid><dc:creator>Eduardo Fuentes</dc:creator><description>You may want to try something like this:&lt;br /&gt;&lt;br /&gt; @Id&lt;br /&gt; @GenericGenerator(name = &amp;quot;generator&amp;quot;, strategy = &amp;quot;guid&amp;quot;, parameters = {})&lt;br /&gt; @GeneratedValue(generator = &amp;quot;generator&amp;quot;)&lt;br /&gt; @Column(name = &amp;quot;APPLICATION_ID&amp;quot; , columnDefinition=&amp;quot;uniqueidentifier&amp;quot;)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/15622?ContentTypeID=1</link><pubDate>Fri, 27 Feb 2015 11:51:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8cb1d21f-ec67-4776-a215-efda9d9f232e</guid><dc:creator>vinitl522</dc:creator><description>I am also looking to map existing table to a cdt which has many unique identifier, any solution for this?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/9376?ContentTypeID=1</link><pubDate>Fri, 16 May 2014 22:47:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bae2b305-397a-4be6-aaa6-dd129537da67</guid><dc:creator>dylanf</dc:creator><description>Did this end up working for you? Most of our tables have at lease one uniqueidentifier item in them.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/8215?ContentTypeID=1</link><pubDate>Wed, 19 Mar 2014 09:28:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:99e77e1f-3d17-4653-bbfb-6fa0e9693cbf</guid><dc:creator>Eduardo Fuentes</dc:creator><description>There&amp;#39;s no JPA annotation for this type of column. The following syntax is only compatible at the Hibernate level but not at the JPA level&lt;br /&gt;&lt;br /&gt;            @GenericGenerator(name = &amp;quot;generator&amp;quot; strategy = &amp;quot;guid&amp;quot;)&lt;br /&gt;            @GeneratedValue(generator = &amp;quot;generator&amp;quot;)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/8194?ContentTypeID=1</link><pubDate>Tue, 18 Mar 2014 12:35:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:301372e1-fb51-4ce5-a995-970dac9646d6</guid><dc:creator>bharathwajanr587</dc:creator><description>I was trying to map the existing table structure in the SQLSERVER which has a field having the type &amp;quot;uniqueidentifier&amp;quot; to the XSD structure. Does the XSD has the type called &amp;quot;uniqueIdentifiier&amp;quot;? if not, how can we map that field to the existing table?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to specify the uniqueidentifier datatype of SQL SERVER in XSD type?...&lt;p sty</title><link>https://community.appian.com/thread/8186?ContentTypeID=1</link><pubDate>Tue, 18 Mar 2014 06:34:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:02258ac9-2f8f-46d6-8d83-3a77069c8744</guid><dc:creator>Eduardo Fuentes</dc:creator><description>These annotations will map to a primary key in SQL Server that is of type auto-increment if that is what you need &lt;br /&gt;&lt;br /&gt;@Id&lt;br /&gt;@GeneratedValue&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&amp;lt;xsd:element name=&amp;quot;id&amp;quot; type=&amp;quot;xsd:int&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;                        @Id&lt;br /&gt;                        @GeneratedValue&lt;br /&gt;                    &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;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>