<?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: JPA Entity process variable in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/jpa-entity-process-variable/m-p/79758#M53124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Activiti uses the entity's ID to look it up&amp;nbsp; again later in the entityManager. I see that your entity 'vacationrequest' isn't saved yet, so this has no ID, or am I mistaken?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, you should make sure the entity you pass is present in the same entityManager as activiti is using (so eather comitted in the DB or using the same transaction where the entity exists but is not yet comitted).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 May 2011 09:08:02 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2011-05-26T09:08:02Z</dc:date>
    <item>
      <title>JPA Entity process variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jpa-entity-process-variable/m-p/79757#M53123</link>
      <description>Let's say that i have a JPA Entity called VacationRequest and that I want to start a new process with VacationRequest as a process variable.Is this a proper way to do it:VacationRequest vacationRequest = new VacationRequest();Map&amp;lt;String,Object&amp;gt; variables = new HashMap&amp;lt;String, Object&amp;gt;();v</description>
      <pubDate>Wed, 25 May 2011 21:51:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jpa-entity-process-variable/m-p/79757#M53123</guid>
      <dc:creator>pero</dc:creator>
      <dc:date>2011-05-25T21:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: JPA Entity process variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jpa-entity-process-variable/m-p/79758#M53124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Activiti uses the entity's ID to look it up&amp;nbsp; again later in the entityManager. I see that your entity 'vacationrequest' isn't saved yet, so this has no ID, or am I mistaken?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, you should make sure the entity you pass is present in the same entityManager as activiti is using (so eather comitted in the DB or using the same transaction where the entity exists but is not yet comitted).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 09:08:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jpa-entity-process-variable/m-p/79758#M53124</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-05-26T09:08:02Z</dc:date>
    </item>
  </channel>
</rss>

