<?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: Using transactions with CMIS &amp; RESTful API in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/using-transactions-with-cmis-restful-api/m-p/254827#M207957</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;No - each webscript invocation is a separate transaction on the server.&amp;nbsp; By the time you get the result over REST the transaction has either been committed or rolled back.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Would you please suggest any solution to roll back the modification operations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;May transaction be used with JavaScript API?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;May I have direct access to Alfresco database? Is it good practice?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Dec 2012 12:01:40 GMT</pubDate>
    <dc:creator>andennis</dc:creator>
    <dc:date>2012-12-04T12:01:40Z</dc:date>
    <item>
      <title>Using transactions with CMIS &amp; RESTful API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-transactions-with-cmis-restful-api/m-p/254825#M207955</link>
      <description>Hi EveryoneI use DotCMIS and RESTful APIs to interact with Alfresco. (.NET app)Is there any way, using CMIS and RESTful APIs, to roll back data modification operations like e.g. folders\document\user\group creation\renaming\deleting?In other words, does Alfresco support transactions in that case?Tha</description>
      <pubDate>Tue, 04 Dec 2012 10:55:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-transactions-with-cmis-restful-api/m-p/254825#M207955</guid>
      <dc:creator>andennis</dc:creator>
      <dc:date>2012-12-04T10:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using transactions with CMIS &amp; RESTful API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-transactions-with-cmis-restful-api/m-p/254826#M207956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No - each webscript invocation is a separate transaction on the server.&amp;nbsp; By the time you get the result over REST the transaction has either been committed or rolled back.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 11:50:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-transactions-with-cmis-restful-api/m-p/254826#M207956</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-12-04T11:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using transactions with CMIS &amp; RESTful API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-transactions-with-cmis-restful-api/m-p/254827#M207957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;No - each webscript invocation is a separate transaction on the server.&amp;nbsp; By the time you get the result over REST the transaction has either been committed or rolled back.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Would you please suggest any solution to roll back the modification operations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;May transaction be used with JavaScript API?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;May I have direct access to Alfresco database? Is it good practice?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 12:01:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-transactions-with-cmis-restful-api/m-p/254827#M207957</guid>
      <dc:creator>andennis</dc:creator>
      <dc:date>2012-12-04T12:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using transactions with CMIS &amp; RESTful API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-transactions-with-cmis-restful-api/m-p/254828#M207958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Why do you want to roll back?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use distributed transactions if you really need to with the Java API.&amp;nbsp; For example folks wrap the Java API with EJB.&amp;nbsp;&amp;nbsp; But its a rare use case that will require it and will require reconfiguration (via Spring) of the transaction manager and the database resource.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 12:24:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-transactions-with-cmis-restful-api/m-p/254828#M207958</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-12-04T12:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using transactions with CMIS &amp; RESTful API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-transactions-with-cmis-restful-api/m-p/254829#M207959</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;Can you please let us know how to reconfigure the transaction manager and the database resource via Spring, so that we will able to rollback the transaction performed when some conditions are met.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The scenario that we need currently is :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Creation of document in Alfresco using CMIS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Insertion of the details of document in DB&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So when DB insertion fails, we need to rollback the document creation transaction.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 05:49:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-transactions-with-cmis-restful-api/m-p/254829#M207959</guid>
      <dc:creator>vikashkaushik</dc:creator>
      <dc:date>2015-01-07T05:49:12Z</dc:date>
    </item>
  </channel>
</rss>

