<?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: Transaction problems in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/transaction-problems/m-p/107035#M74937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi backslash,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sounds like the transaction integration between activiti and your entity manager is not setup correctly. Are you using Spring? Do you have different datasources for activiti and the JPA entity manager?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Nov 2012 10:01:18 GMT</pubDate>
    <dc:creator>meyerd</dc:creator>
    <dc:date>2012-11-13T10:01:18Z</dc:date>
    <item>
      <title>Transaction problems</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-problems/m-p/107032#M74934</link>
      <description>Hello, I am developing a platform based on activiti engine (5.10). The database is MSSQL Servier 2008 and I am using Spring and JPA (Hibernate provider).My application was running fine for few days. But today something happened with the connection to database and I suspect there was a big rollback,</description>
      <pubDate>Mon, 12 Nov 2012 21:44:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-problems/m-p/107032#M74934</guid>
      <dc:creator>backslash</dc:creator>
      <dc:date>2012-11-12T21:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction problems</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-problems/m-p/107033#M74935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm. sounds strange. Really difficult to say anything from what you are writing. Do you have any additional information?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 09:24:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-problems/m-p/107033#M74935</guid>
      <dc:creator>meyerd</dc:creator>
      <dc:date>2012-11-13T09:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction problems</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-problems/m-p/107034#M74936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you for response. I might have one more piece of information, but dont know if it will help. I have been using the same "entityManagerFactory" and "transactionManager" in the application for normal persistance of objects. After the database problem, entities stored this way were in the database and the data stored through activiti (process instances, …) was not there. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What about the "jpaHandleTransaction" and "jpaCloseEntityManager", could these two be the cause of problems in my setup?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 09:37:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-problems/m-p/107034#M74936</guid>
      <dc:creator>backslash</dc:creator>
      <dc:date>2012-11-13T09:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction problems</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-problems/m-p/107035#M74937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi backslash,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sounds like the transaction integration between activiti and your entity manager is not setup correctly. Are you using Spring? Do you have different datasources for activiti and the JPA entity manager?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 10:01:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-problems/m-p/107035#M74937</guid>
      <dc:creator>meyerd</dc:creator>
      <dc:date>2012-11-13T10:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction problems</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-problems/m-p/107036#M74938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I am using spring 3.1.0.RELEASE and hibernate 3.6.10.Final. The datasource is the same.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 10:06:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-problems/m-p/107036#M74938</guid>
      <dc:creator>backslash</dc:creator>
      <dc:date>2012-11-13T10:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction problems</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-problems/m-p/107037#M74939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jpaHandleTransaction" value="true" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jpaCloseEntityManager" value="true" /&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Read the user guide trough, for the use of these properties. If the transaction is externally managed (which in your case, use true), the handleTransaction should be false and close as well, otherwise, activiti JPA-integration will close connection/transaction prematurely…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 10:25:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-problems/m-p/107037#M74939</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-11-16T10:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction problems</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-problems/m-p/107038#M74940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for advice. Do you think this could case the data-loss? It is really strange, becuase entities stored directly by me were in DB and only data in activiti tables werent there.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 08:58:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-problems/m-p/107038#M74940</guid>
      <dc:creator>backslash</dc:creator>
      <dc:date>2012-11-21T08:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction problems</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-problems/m-p/107039#M74941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, it could cause the data-loss, since transaction was not correctly shared between your entities and activiti&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 09:10:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-problems/m-p/107039#M74941</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-11-21T09:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction problems</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-problems/m-p/107040#M74942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi backslash,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you achieve success in using JpaTransactionManager for Activiti?&amp;nbsp; I am having the same issue, except I use jTDS JDBC driver and I do not see any exception. But Activiti data is not being saved to database. I have created another topic with some additional information about my observations about transactions - both using&amp;nbsp; org.springframework.orm.jpa.JpaTransactionManager&amp;nbsp; and&amp;nbsp;&amp;nbsp; org.springframework.jdbc.datasource.DataSourceTransactionManager. The new topic is at - &lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/content/spring-jpatransactionmanager-not-saving-activiti-entities-db" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/spring-jpatransactionmanager-not-saving-activiti-entities-db&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It will be great if you can share some details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 20:37:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-problems/m-p/107040#M74942</guid>
      <dc:creator>neville_sequeir</dc:creator>
      <dc:date>2013-09-12T20:37:30Z</dc:date>
    </item>
  </channel>
</rss>

