<?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 Re: The best practise to bind JPA-Entity to process in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/the-best-practise-to-bind-jpa-entity-to-process/m-p/220733#M173863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Joram,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm interested in learning more on Activiti/JPA integration.&amp;nbsp; Our business entity layer is Cassandra and not JPA-enabled, but understanding the semantics might allow us to replicate similar behavior.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For instance, what classes/methods does Activiti add the hooks to autostore and autoload (e.g. if the process var is annotated as a JPA entity, go load it from the EntityManager when the process variable is loaded)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jason&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 May 2016 13:55:34 GMT</pubDate>
    <dc:creator>jwestra</dc:creator>
    <dc:date>2016-05-11T13:55:34Z</dc:date>
    <item>
      <title>The best practise to bind JPA-Entity to process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/the-best-practise-to-bind-jpa-entity-to-process/m-p/220730#M173860</link>
      <description>Hi,I would like to ask you, what is the best way of binding a JPA-Entity to activiti process?I tried to set bean as a process variable:variables.put("myBean", myBean);runtimeService.startProcessInstanceByKey("myProcess", variables);‍‍‍‍But this solition has a big drawback. I store the same data in t</description>
      <pubDate>Thu, 05 May 2016 10:39:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/the-best-practise-to-bind-jpa-entity-to-process/m-p/220730#M173860</guid>
      <dc:creator>omd</dc:creator>
      <dc:date>2016-05-05T10:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: The best practise to bind JPA-Entity to process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/the-best-practise-to-bind-jpa-entity-to-process/m-p/220731#M173861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it a good idea to store in process variables only jpa-entity object id?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;variables.put("myBeanID", myBean.getId());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;runtimeService.startProcessInstanceByKey("myProcess", variables);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 12:28:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/the-best-practise-to-bind-jpa-entity-to-process/m-p/220731#M173861</guid>
      <dc:creator>omd</dc:creator>
      <dc:date>2016-05-05T12:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: The best practise to bind JPA-Entity to process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/the-best-practise-to-bind-jpa-entity-to-process/m-p/220732#M173862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; Is it possible to store in a process only a reference to my bean ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Activiti has out of the box JPA integration, solving exactly this problem: &lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#_jpa" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#_jpa&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 10:02:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/the-best-practise-to-bind-jpa-entity-to-process/m-p/220732#M173862</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-05-10T10:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: The best practise to bind JPA-Entity to process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/the-best-practise-to-bind-jpa-entity-to-process/m-p/220733#M173863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Joram,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm interested in learning more on Activiti/JPA integration.&amp;nbsp; Our business entity layer is Cassandra and not JPA-enabled, but understanding the semantics might allow us to replicate similar behavior.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For instance, what classes/methods does Activiti add the hooks to autostore and autoload (e.g. if the process var is annotated as a JPA entity, go load it from the EntityManager when the process variable is loaded)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jason&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 13:55:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/the-best-practise-to-bind-jpa-entity-to-process/m-p/220733#M173863</guid>
      <dc:creator>jwestra</dc:creator>
      <dc:date>2016-05-11T13:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: The best practise to bind JPA-Entity to process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/the-best-practise-to-bind-jpa-entity-to-process/m-p/220734#M173864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Check following classes to get an idea:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/variable/JPAEntityVariableType.java" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/variable/JPAEntityVariableType.java&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/variable/JPAEntityScanner.java" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/variable/JPAEntityScanner.java&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/variable/JPAEntityMappings.java" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/variable/JPAEntityMappings.java&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/variable/JPAEntityListVariableType.java" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/variable/JPAEntityListVariableType.java&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 16:08:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/the-best-practise-to-bind-jpa-entity-to-process/m-p/220734#M173864</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-05-18T16:08:57Z</dc:date>
    </item>
  </channel>
</rss>

