<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Activiti JPA support (activiti-spring-boot-starter-jpa) unable to detect generic primary key type in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-jpa-support-activiti-spring-boot-starter-jpa-unable-to/m-p/211912#M165042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've detailed my issue here: &lt;/SPAN&gt;&lt;A href="http://stackoverflow.com/questions/40765287/activiti-jpa-support-activiti-spring-boot-starter-jpa-unable-to-detect-generic" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/40765287/activiti-jpa-support-activiti-spring-boot-starter-jpa-unable-to-detect-generic&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the question basically is, is it possible to use JPA support when the ID is a generic one?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Nov 2016 05:18:33 GMT</pubDate>
    <dc:creator>skpatel20</dc:creator>
    <dc:date>2016-11-25T05:18:33Z</dc:date>
    <item>
      <title>Activiti JPA support (activiti-spring-boot-starter-jpa) unable to detect generic primary key type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-jpa-support-activiti-spring-boot-starter-jpa-unable-to/m-p/211912#M165042</link>
      <description>I've detailed my issue here: http://stackoverflow.com/questions/40765287/activiti-jpa-support-activiti-spring-boot-starter-jpa-unable-to-detect-genericthe question basically is, is it possible to use JPA support when the ID is a generic one?</description>
      <pubDate>Fri, 25 Nov 2016 05:18:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-jpa-support-activiti-spring-boot-starter-jpa-unable-to/m-p/211912#M165042</guid>
      <dc:creator>skpatel20</dc:creator>
      <dc:date>2016-11-25T05:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti JPA support (activiti-spring-boot-starter-jpa) unable to detect generic primary key type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-jpa-support-activiti-spring-boot-starter-jpa-unable-to/m-p/211913#M165043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;Looking at the source, the only supported ID types are primitives. There is a comment in the code that goes:&lt;/P&gt;&lt;P&gt;&lt;CODE style="border: 0px; font-size: 13px;"&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"&gt; Class&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"&gt;&amp;lt;?&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"&gt; type &lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"&gt; metaData&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"&gt;getIdType&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"&gt;();&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #858c93; border: 0px; font-size: 13px;"&gt;// According to JPA-spec all primitive types (and wrappers) are supported, String, util.Date, sql.Date,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #858c93; border: 0px; font-size: 13px;"&gt;BigDecimal and BigInteger&lt;/SPAN&gt;&lt;SPAN class="" style="color: #303336; border: 0px; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;By using a generic, the code is passing through a serializable that is not properly matched. Seems this would be a relatively easy override in the JPAEntityMappings class.&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 20:46:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-jpa-support-activiti-spring-boot-starter-jpa-unable-to/m-p/211913#M165043</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2016-12-16T20:46:52Z</dc:date>
    </item>
  </channel>
</rss>

