<?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: shared db connection in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/shared-db-connection/m-p/2257174#M39338</link>
    <description>Hi,&lt;BR /&gt;Could you please post your job design screenshots into forum?&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Did you create a shared connection in parent job and you want to reuse it in child job? If so, you can use joblet which will let you share the database connection.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
    <pubDate>Thu, 13 Oct 2016 03:42:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-10-13T03:42:41Z</dc:date>
    <item>
      <title>shared db connection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/shared-db-connection/m-p/2257173#M39337</link>
      <description>Hello, 
&lt;BR /&gt;I am working on a talend job (parent job) which orchestrate four subjobs&amp;nbsp; 
&lt;BR /&gt;each subjob (subjob1, subjob2, subjob3, subjob4) need a db connections (differente db) to insert/update data 
&lt;BR /&gt;the parent job &amp;nbsp;need this db connections to do some insert/ update&amp;nbsp; 
&lt;BR /&gt;As these db connections are used both in the parent job and subjobs (child jobs), I woud like to declare them one&amp;nbsp; 
&lt;BR /&gt;in the parent job &amp;nbsp;using db connection component (like a pool connection) an share them with the child jobs&amp;nbsp; 
&lt;BR /&gt;(every child job use a db connection component too but using the same connection name used in the parent job) 
&lt;BR /&gt;but every child job has to commit his own work (independently from the other child jobs and the parent job too) 
&lt;BR /&gt;so i check commit automatic in each child job db connection component.&amp;nbsp; 
&lt;BR /&gt;the question is : shared db connection doesn't mean shared transaction ?&amp;nbsp; 
&lt;BR /&gt;because in my case as explained the goal is not to share the same transaction that is opened in the &amp;nbsp;parent job 
&lt;BR /&gt;and used throw the child jobs (no commit ) and finally one commit is done in parent job. 
&lt;BR /&gt;My goal is to have one db connection created in the parent job (like a connection pool) and each child job 
&lt;BR /&gt;use this connection to commit his own data () and give the connection back to the "pool" and finally the parent&amp;nbsp; 
&lt;BR /&gt;job can close all the connections in postjob.&amp;nbsp; 
&lt;BR /&gt;how can I do it if the shared db connection is not meant for this use &amp;nbsp;? 
&lt;BR /&gt;thanks a lot&amp;nbsp; 
&lt;BR /&gt;I am using teradata connection component&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp;</description>
      <pubDate>Wed, 12 Oct 2016 21:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/shared-db-connection/m-p/2257173#M39337</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-12T21:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: shared db connection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/shared-db-connection/m-p/2257174#M39338</link>
      <description>Hi,&lt;BR /&gt;Could you please post your job design screenshots into forum?&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Did you create a shared connection in parent job and you want to reuse it in child job? If so, you can use joblet which will let you share the database connection.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Thu, 13 Oct 2016 03:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/shared-db-connection/m-p/2257174#M39338</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-13T03:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: shared db connection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/shared-db-connection/m-p/2257175#M39339</link>
      <description>Hi xdshi, 
&lt;BR /&gt;I am using TOS (so no joblets)&amp;nbsp; 
&lt;BR /&gt;Yes I created a shared connection in the parent job (that use this connection) and reuse it in the child jobs too&amp;nbsp; 
&lt;BR /&gt;(but each child job has to do his own commit separately from the other child jobs and return the connection back to 
&lt;BR /&gt;&amp;nbsp;the "kind of pool of connection" shared by the parent job and so on for the other child jobs and finally the parent job&amp;nbsp; 
&lt;BR /&gt;can close the connections)&amp;nbsp; 
&lt;BR /&gt;In my case : &amp;nbsp;I used a tTeradataConnection in the parent job (I did&amp;nbsp; 
&lt;FONT color="black"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial"&gt;select the checkbox&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="black"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial"&gt;&amp;nbsp;“&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT color="black"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial"&gt;&lt;B&gt;Use or register a shared DB connection&lt;/B&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT color="black"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial"&gt;” and&amp;nbsp;provided a unique name to this shared connection)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT color="black"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial"&gt;and in each child job i used&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;tTeradataConnection&amp;nbsp;too &amp;nbsp;but I didn't provide the connection parameters &amp;nbsp; 
&lt;BR /&gt;because I want to use the same connection created in parent Job so&amp;nbsp; 
&lt;FONT color="black"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial"&gt;I provided the same name &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT color="black"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="black"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial"&gt;to this shared connection&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT color="black"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial"&gt;in the “&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT color="black"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial"&gt;&lt;B&gt;Shared DB Connection Name&lt;/B&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT color="black"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial"&gt;” text box of each child job&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt;and giving that each child job has to commit his data I did select the checkbox "commit automatically" advanced&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT face="Arial"&gt;&lt;FONT size="2"&gt;setting in each child job&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;tTeradataConnection&amp;nbsp;component. 
&lt;BR /&gt;Is it the right way to do ? 
&lt;BR /&gt;thanks a lot. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBr8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140219i247585C2F86E9113/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBr8.png" alt="0683p000009MBr8.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBTw.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143140i04D9D54A9AFA47C6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBTw.png" alt="0683p000009MBTw.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBrD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128412i619D9E34880D7F01/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBrD.png" alt="0683p000009MBrD.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 13 Oct 2016 08:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/shared-db-connection/m-p/2257175#M39339</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-13T08:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: shared db connection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/shared-db-connection/m-p/2257176#M39340</link>
      <description>I guess the moment you will choose Commit in individual Sub job it will commit all the uncommitted transactions for that shared connection</description>
      <pubDate>Thu, 13 Oct 2016 14:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/shared-db-connection/m-p/2257176#M39340</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-13T14:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: shared db connection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/shared-db-connection/m-p/2257177#M39341</link>
      <description>that's ok, in my case it is not a problem, giving that all the uncommitted transactions are always the&amp;nbsp;
&lt;BR /&gt;child job (doing the commit) ones. In the same way, the second child job, when he ask for the shared connection, will commit&amp;nbsp;
&lt;BR /&gt;his own transactions and so on for the third and the fourth child jobs.
&lt;BR /&gt;It's sort of connection pool with one shared connection, that's why it is incompatible with multi thread&amp;nbsp;
&lt;BR /&gt;tRunJob (child jobs)&amp;nbsp;&amp;nbsp;execution.
&lt;BR /&gt;It will be great if the tTeradataConnection component could be configurable&amp;nbsp; to set the connection pool to more than
&lt;BR /&gt;one connection and then some child jobs can be run in parallel&amp;nbsp;
&lt;BR /&gt;I found one component (talend exchange) connectionPool that's not compatible with teradata (just mysql and Oracle)
&lt;BR /&gt;thanks a lot &amp;nbsp;
&lt;FONT color="#333333"&gt;sankalp.verma&lt;/FONT&gt;
&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;for the answer&amp;nbsp;</description>
      <pubDate>Thu, 13 Oct 2016 16:10:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/shared-db-connection/m-p/2257177#M39341</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-13T16:10:02Z</dc:date>
    </item>
  </channel>
</rss>

