<?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: External Application Transaction Management in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/external-application-transaction-management/m-p/66661#M42410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Lets say if i go with spring container can application db calls (Application sepcific) and process related call (used by activiti) be maintained in single transaction?&lt;BR /&gt;&lt;BR /&gt;I have below requirement :&lt;BR /&gt;&lt;BR /&gt;1. Captured all required data for a process&lt;BR /&gt;2. Do some kind processing on the data (App db call)&lt;BR /&gt;3. Call createProcessInstanceByKey with input data (Both App and Activiti db call)&lt;BR /&gt;4. Update results in DB (using App db call)&lt;BR /&gt;&lt;BR /&gt;If any one of above step or any exception inside process instance execution fails i should be able to rollback or commit based on&lt;BR /&gt;the error code etc. is it possible??&lt;BR /&gt;&lt;BR /&gt;If i use Spring container to manage transaction and i have two diff. schema's (1 for app and other for activiti) how the transaction being managed? will the activiti use the same transactionManager confired for the app?&lt;BR /&gt;&lt;BR /&gt;Thanks in Avance!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I hava the similarly question ,but I can't even integrate activiti58 with my spring,questions are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1,activiti use mybatis,my program use hibernateJPA;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2,so there are two dataConnect,or two datasource?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;what directiion I go?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Dec 2011 02:47:42 GMT</pubDate>
    <dc:creator>xiegs2007</dc:creator>
    <dc:date>2011-12-09T02:47:42Z</dc:date>
    <item>
      <title>External Application Transaction Management</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/external-application-transaction-management/m-p/66656#M42405</link>
      <description>Dear Activit Users,In my company, we have requirement for workflow and i have been working on it from last 2 weeks. I am planning to integrate Activiti (bundled in my EAR) into my application with two different schemas (one for app and the other for Activiti procesess). I have few queries, i tried s</description>
      <pubDate>Mon, 28 Nov 2011 07:54:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/external-application-transaction-management/m-p/66656#M42405</guid>
      <dc:creator>sobh540</dc:creator>
      <dc:date>2011-11-28T07:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: External Application Transaction Management</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/external-application-transaction-management/m-p/66657#M42406</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;BR /&gt;&lt;SPAN&gt;In the user guide a transaction manager is described using the Spring container. Did you read it?&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, 28 Nov 2011 21:25:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/external-application-transaction-management/m-p/66657#M42406</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-11-28T21:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: External Application Transaction Management</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/external-application-transaction-management/m-p/66658#M42407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;In the user guide a transaction manager is described using the Spring container. Did you read it?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have read about transaction management using Spring, But its describes container managed transactions and also we are planning to use Actitivi without Spring in my application. We are planing to manage all transaction using sql connections, based on the error scenario (use case) we may commit complete transaction or rollback the transaction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The way that we are planning is :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. We capture all the data required for the process from UI (user or system will get the required data)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Once the data available, will invoke a process which will basically do some input validations, business validations and then create records into diff. tables using Java Service Task. For activiti process related db interactions we will use activiti schema and for app we will use application schema. I can write a service which will be called from JavaDelegate, I can get sql connection within serviceimpl and do business checks and finally created record and also there could be diff. service call (mutliple calls) from delegate depending on the input passed. If i have multiple call withing delegate, there could be a possibility to fail one of the service call.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. I want the above all the steps should in a single transaction. I want to maintain transactions using DB connections. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would you please suggest a solution for the above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 16:15:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/external-application-transaction-management/m-p/66658#M42407</guid>
      <dc:creator>sobh540</dc:creator>
      <dc:date>2011-11-29T16:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: External Application Transaction Management</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/external-application-transaction-management/m-p/66659#M42408</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;BR /&gt;&lt;SPAN&gt;With only DB transactions you can't.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll need a container managed transaction mechanism, either from your application server or from Spring.&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>Tue, 29 Nov 2011 19:45:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/external-application-transaction-management/m-p/66659#M42408</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-11-29T19:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: External Application Transaction Management</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/external-application-transaction-management/m-p/66660#M42409</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;BR /&gt;&lt;SPAN&gt;Lets say if i go with spring container can application db calls (Application sepcific) and process related call (used by activiti) be maintained in single transaction?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have below requirement :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Captured all required data for a process&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Do some kind processing on the data (App db call)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Call createProcessInstanceByKey with input data (Both App and Activiti db call)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Update results in DB (using App db call)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If any one of above step or any exception inside process instance execution fails i should be able to rollback or commit based on&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the error code etc. is it possible??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If i use Spring container to manage transaction and i have two diff. schema's (1 for app and other for activiti) how the transaction being managed? will the activiti use the same transactionManager confired for the app?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in Avance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 15:07:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/external-application-transaction-management/m-p/66660#M42409</guid>
      <dc:creator>sobh540</dc:creator>
      <dc:date>2011-12-07T15:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: External Application Transaction Management</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/external-application-transaction-management/m-p/66661#M42410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Lets say if i go with spring container can application db calls (Application sepcific) and process related call (used by activiti) be maintained in single transaction?&lt;BR /&gt;&lt;BR /&gt;I have below requirement :&lt;BR /&gt;&lt;BR /&gt;1. Captured all required data for a process&lt;BR /&gt;2. Do some kind processing on the data (App db call)&lt;BR /&gt;3. Call createProcessInstanceByKey with input data (Both App and Activiti db call)&lt;BR /&gt;4. Update results in DB (using App db call)&lt;BR /&gt;&lt;BR /&gt;If any one of above step or any exception inside process instance execution fails i should be able to rollback or commit based on&lt;BR /&gt;the error code etc. is it possible??&lt;BR /&gt;&lt;BR /&gt;If i use Spring container to manage transaction and i have two diff. schema's (1 for app and other for activiti) how the transaction being managed? will the activiti use the same transactionManager confired for the app?&lt;BR /&gt;&lt;BR /&gt;Thanks in Avance!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I hava the similarly question ,but I can't even integrate activiti58 with my spring,questions are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1,activiti use mybatis,my program use hibernateJPA;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2,so there are two dataConnect,or two datasource?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;what directiion I go?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 02:47:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/external-application-transaction-management/m-p/66661#M42410</guid>
      <dc:creator>xiegs2007</dc:creator>
      <dc:date>2011-12-09T02:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: External Application Transaction Management</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/external-application-transaction-management/m-p/66662#M42411</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;BR /&gt;&lt;SPAN&gt;@sobh540 Right, if you would use the Spring transaction manager you could do several tasks within the same transaction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@xiegs2007, if you have multiple data sources you definitely need a XA transaction manager&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>Fri, 09 Dec 2011 14:08:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/external-application-transaction-management/m-p/66662#M42411</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-12-09T14:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: External Application Transaction Management</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/external-application-transaction-management/m-p/66663#M42412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;@xiegs2007, if you have multiple data sources you definitely need a XA transaction manager&lt;BR /&gt;Best regards,&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;thank you for answer.&lt;BR /&gt;I don't want complex way,whate I realy want is:&lt;BR /&gt;how integrate activiti58 into my SpringMVC which used hibernateJPA?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;today I read the posts published by developer of Activiti,and understand that use with hibernateJPA is unsupported because LGPL licence and software test and sql's convenience …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so I don't ask this kind of question anymore!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 15:01:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/external-application-transaction-management/m-p/66663#M42412</guid>
      <dc:creator>xiegs2007</dc:creator>
      <dc:date>2011-12-09T15:01:05Z</dc:date>
    </item>
  </channel>
</rss>

