<?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: Cannot flush EntityManager, an active transaction is required in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cannot-flush-entitymanager-an-active-transaction-is-required/m-p/224117#M177247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; didn't test this but I maybe this will work for you:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @PersistenceUnit(unitName="myapp")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private EntityManagerFactory entityManagerFactory;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 May 2016 13:12:43 GMT</pubDate>
    <dc:creator>vasile_dirla</dc:creator>
    <dc:date>2016-05-09T13:12:43Z</dc:date>
    <item>
      <title>Cannot flush EntityManager, an active transaction is required</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-flush-entitymanager-an-active-transaction-is-required/m-p/224116#M177246</link>
      <description>Hello,I got this error, when I try to read bean variable ${person.firstName} in my next UserTask. But also my bean is not persisted in my db after call&amp;nbsp; service #{personService.persistPerson()} in serviceTask.&amp;nbsp; I think the problem is my entityExplorer doesn't share the same trasaction with Activiti.</description>
      <pubDate>Sun, 08 May 2016 18:48:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-flush-entitymanager-an-active-transaction-is-required/m-p/224116#M177246</guid>
      <dc:creator>omd</dc:creator>
      <dc:date>2016-05-08T18:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot flush EntityManager, an active transaction is required</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-flush-entitymanager-an-active-transaction-is-required/m-p/224117#M177247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; didn't test this but I maybe this will work for you:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @PersistenceUnit(unitName="myapp")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private EntityManagerFactory entityManagerFactory;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 13:12:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-flush-entitymanager-an-active-transaction-is-required/m-p/224117#M177247</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2016-05-09T13:12:43Z</dc:date>
    </item>
  </channel>
</rss>

