<?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 JPA / Best Praticies in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/jpa-best-praticies/m-p/216612#M169742</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi folks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Activiti 5.21.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I already use Spring and JPA 2.1 (with Eclipselink) to manage my system entities, and&amp;nbsp; org.activiti.spring.SpringProcessEngineConfiguration to configure the engine, with Transaction management.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Its working fine, and I want to place a best pratice question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In some cases, I need to mix the logic to collect my entities to information related with Activiti Tasks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to several notifications to display for a user. This notifications is stored in my database schema, with a relation with Activitiy by a task_id column. So I need to display for a user, only notifications for tasks that this user have acces. It can be assigned or with a identity link with a group. This information is stored in the activiti schema. For now I'm using JPQL Native Query support to join the information, but this have serious portability drawbacks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the regular stuff, I use the Activiti Services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you recomend guys? Its a good pratice to map Activity entites into my JPA Persistence Unit for example?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jul 2016 22:06:58 GMT</pubDate>
    <dc:creator>edufrazao</dc:creator>
    <dc:date>2016-07-13T22:06:58Z</dc:date>
    <item>
      <title>JPA / Best Praticies</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jpa-best-praticies/m-p/216612#M169742</link>
      <description>Hi folks.I'm using Activiti 5.21.0.I already use Spring and JPA 2.1 (with Eclipselink) to manage my system entities, and&amp;nbsp; org.activiti.spring.SpringProcessEngineConfiguration to configure the engine, with Transaction management.Its working fine, and I want to place a best pratice question.In some ca</description>
      <pubDate>Wed, 13 Jul 2016 22:06:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jpa-best-praticies/m-p/216612#M169742</guid>
      <dc:creator>edufrazao</dc:creator>
      <dc:date>2016-07-13T22:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: JPA / Best Praticies</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jpa-best-praticies/m-p/216613#M169743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It all depends a lot on the use cases of course. If you need an Activiti entity in your custom query, then I don't see an issue with it. But if it's only used to get hold of user or group info, I would advise to use a user or group cache instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 09:27:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jpa-best-praticies/m-p/216613#M169743</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2016-07-18T09:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: JPA / Best Praticies</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jpa-best-praticies/m-p/216614#M169744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In fact, sometimes I need to join with task, historic task, process and historic process info too, and the information in identity links too. This is the most commom scenarios. User and groups is in my schema. Do you map activiti entities in your setup?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 11:19:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jpa-best-praticies/m-p/216614#M169744</guid>
      <dc:creator>edufrazao</dc:creator>
      <dc:date>2016-07-18T11:19:53Z</dc:date>
    </item>
  </channel>
</rss>

