<?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: Activiti 6 pluggable persistence feedback in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-6-pluggable-persistence-feedback/m-p/212730#M165860</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Björn, finally got time to review this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. True. The workaround would be to have a custom BPMNDeployer I would guess. The special way of handling that id is because of the process definition being cached.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Not sure if I see the problem here. Wouldn't you simply be able to extend those classes in your own implementation? I'm not sure this would be an easy change.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Correct. This has been fixed on the activiti6 branch last week.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. I can see your point. But it's probably hard to refactor that without breaking a lot of people's code … With JPA lazy loading/etc it still could work, right, you would have to check if some property is already loaded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Correct. Has been fixed on the activiti6 branch.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Feb 2016 11:25:02 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2016-02-11T11:25:02Z</dc:date>
    <item>
      <title>Activiti 6 pluggable persistence feedback</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-6-pluggable-persistence-feedback/m-p/212729#M165859</link>
      <description>Hello,I do not need any help here, this is just a feedback &lt;IMG id="smileywink" class="emoticon emoticon-smileywink" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&amp;nbsp; I like to share my first experience using the new pluggable persistence facility. My current use case is to completely replacing the "core" persistence implementation by a Hibernate JPA based implementation. This works well so far, but I</description>
      <pubDate>Fri, 20 Nov 2015 14:10:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-6-pluggable-persistence-feedback/m-p/212729#M165859</guid>
      <dc:creator>bjoern_s</dc:creator>
      <dc:date>2015-11-20T14:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti 6 pluggable persistence feedback</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-6-pluggable-persistence-feedback/m-p/212730#M165860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Björn, finally got time to review this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. True. The workaround would be to have a custom BPMNDeployer I would guess. The special way of handling that id is because of the process definition being cached.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Not sure if I see the problem here. Wouldn't you simply be able to extend those classes in your own implementation? I'm not sure this would be an easy change.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Correct. This has been fixed on the activiti6 branch last week.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. I can see your point. But it's probably hard to refactor that without breaking a lot of people's code … With JPA lazy loading/etc it still could work, right, you would have to check if some property is already loaded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Correct. Has been fixed on the activiti6 branch.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 11:25:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-6-pluggable-persistence-feedback/m-p/212730#M165860</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-02-11T11:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti 6 pluggable persistence feedback</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-6-pluggable-persistence-feedback/m-p/212731#M165861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank for your reply!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;2. Right, so did I. This was not a real issue, just an inconvenience.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;4. Found a way to handle this, most of the "*DataManager*" now fetch the owning JPA Entity and iterate the collections instead of performing a DB query. I re-implemented all relations as JPA collections with ManyToOne and OneToMany. This of course requires all "back link collections" to be filled (5.) to be useable within the same transaction. This is works really fast - most of the JPA first and second level caching mechanism can be used. Indeed we can only support the required minimum for the query operations, but this is ok. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I continued my JPA+Activiti jurney and I it worked quiet well so far. You did an amazing job with the activiti project. If it helps, I continue to give some feedback. I have found some minor points (which I was able to work around using your powerful interfaces). I needed to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;6. subclass org.activiti.engine.impl.variable.SerializableType to remove two calls to Context.getCommandContext().getDbSqlSession() (this does not exist in JPA)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. subclass org.activiti.engine.impl.persistence.entity.HistoricDetailEntityManagerImpl to remove/replace the setting of the ByteArray handling (maybe already fixed) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;8. subclass org.activiti.engine.impl.el.VariableScopeElResolver setValue to set context.setPropertyResolved(true) to prevent resolving the property while in the same transaction (where the property may not be flushed to the JPA db yet)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 09:22:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-6-pluggable-persistence-feedback/m-p/212731#M165861</guid>
      <dc:creator>bjoern_s</dc:creator>
      <dc:date>2016-02-12T09:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti 6 pluggable persistence feedback</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-6-pluggable-persistence-feedback/m-p/212732#M165862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the kinds words. Much appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Great to hear. That's indeed the way I would have done it too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;6. This has been removed on master &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;7. Yup, should be fixed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;8. hmmm that sounds interesting. Can you explain with an example … i don't think I'm fully grasping what you're trying to say here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 12:36:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-6-pluggable-persistence-feedback/m-p/212732#M165862</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-02-16T12:36:14Z</dc:date>
    </item>
  </channel>
</rss>

