<?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 updating db table of other database in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/updating-db-table-of-other-database/m-p/275835#M228965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, first of all i apologize if this has been asked before&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(i did think so, but could not find any matching topics)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like Alfresco to update a 3rd party database based on folder actions (add a node, update a node, delete a node etc).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;what do i have to do for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i assume i need to write some code to encapsulate my sql statement&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and then attach this code to a folder watch attribute?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or am i waay off with this approach ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Joe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Aug 2012 08:22:38 GMT</pubDate>
    <dc:creator>jrady</dc:creator>
    <dc:date>2012-08-10T08:22:38Z</dc:date>
    <item>
      <title>updating db table of other database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/updating-db-table-of-other-database/m-p/275835#M228965</link>
      <description>Hi, first of all i apologize if this has been asked before(i did think so, but could not find any matching topics)I would like Alfresco to update a 3rd party database based on folder actions (add a node, update a node, delete a node etc).what do i have to do for this?i assume i need to write some co</description>
      <pubDate>Fri, 10 Aug 2012 08:22:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/updating-db-table-of-other-database/m-p/275835#M228965</guid>
      <dc:creator>jrady</dc:creator>
      <dc:date>2012-08-10T08:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: updating db table of other database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/updating-db-table-of-other-database/m-p/275836#M228966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;basically, that is how you would do it. I'd use a policy or action (or both in cooperation) to react to changes in my content model and then trigger the update. For the SQL layer, you could use the MyBatis framework already included in Alfresco and create your own DAOs to talk to your 3rd party database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please keep in mind that while access to a 3rd party database is quite simple, transaction handling across both databases (Alfresco and 3rd party) is totally different story and fully up to you, e.g. you would have to put in place the necessary mechanisms to handle rollbacks and commits correctly yourself, if you want to have transactional consistency / atomicity across both systems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2012 14:29:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/updating-db-table-of-other-database/m-p/275836#M228966</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-08-10T14:29:13Z</dc:date>
    </item>
  </channel>
</rss>

