<?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: Connection reuse in tJava in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Connection-reuse-in-tJava/m-p/2294807#M67649</link>
    <description>Thank you 
&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;. Two trails better than one. I'll check that of course and let you know.</description>
    <pubDate>Sat, 24 Jun 2017 11:49:45 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2017-06-24T11:49:45Z</dc:date>
    <item>
      <title>Connection reuse in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connection-reuse-in-tJava/m-p/2294803#M67645</link>
      <description>Hi,&lt;BR /&gt;Does anyone know if it is possible to reuse a db connection (issued from tOracleConnection, tSalesforceConnection or other) in a tJava family component, and, if yes, how?&lt;BR /&gt;Thank you.</description>
      <pubDate>Sat, 16 Nov 2024 09:35:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connection-reuse-in-tJava/m-p/2294803#M67645</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2024-11-16T09:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Connection reuse in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connection-reuse-in-tJava/m-p/2294804#M67646</link>
      <description>&lt;P&gt;It should be possible. &amp;nbsp;If you highlight your connection component and switch to code view, you can find where the connection object is created and configured. &amp;nbsp;It is put on the globalMap for use elsewhere, so if you examine the code of another database component that references the connection, you'll see how the connection retrieved and can mimic the code.&lt;/P&gt;
&lt;PRE&gt;java.sql.Connection conn_tPostgresqlCommit_1 = (java.sql.Connection) globalMap.get("conn_tPostgresqlConnection_2");
if (conn_tPostgresqlCommit_1 != null &amp;amp;&amp;amp; !conn_tPostgresqlCommit_1.isClosed()) { ...&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Jun 2017 22:58:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connection-reuse-in-tJava/m-p/2294804#M67646</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2017-06-23T22:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Connection reuse in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connection-reuse-in-tJava/m-p/2294805#M67647</link>
      <description>Thank you very much 
&lt;A href="https://community.qlik.com/s/profile/0053p000007LLooAAG"&gt;@cterenzi&lt;/A&gt;, I'll try as soon as possible and let you know.</description>
      <pubDate>Fri, 23 Jun 2017 23:13:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connection-reuse-in-tJava/m-p/2294805#M67647</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-06-23T23:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Connection reuse in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connection-reuse-in-tJava/m-p/2294806#M67648</link>
      <description>&lt;P&gt;It appears I am a bit late to the party here, but I wrote a mini tutorial on this a while ago.....&lt;BR /&gt;&lt;A href="https://www.rilhia.com/quicktips/quick-tip-dynamically-change-db-connection" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.rilhia.com/quicktips/quick-tip-dynamically-change-db-connection&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jun 2017 00:48:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connection-reuse-in-tJava/m-p/2294806#M67648</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-24T00:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Connection reuse in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connection-reuse-in-tJava/m-p/2294807#M67649</link>
      <description>Thank you 
&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;. Two trails better than one. I'll check that of course and let you know.</description>
      <pubDate>Sat, 24 Jun 2017 11:49:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connection-reuse-in-tJava/m-p/2294807#M67649</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-06-24T11:49:45Z</dc:date>
    </item>
  </channel>
</rss>

