<?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: TNS changes in oracle connection in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TNS-changes-in-oracle-connection/m-p/2347630#M114848</link>
    <description>&lt;P&gt;Yes, I did try checking that - however, it only pulls in the info in a TNS file it does not reference that info going forward (if you change the TNS file it does not automatically update the job). However, after a couple of hours of tinkering, I was able to make things behave how I wanted - see below.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Added a tJava as the first item of my prejob with the following line in it:&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;System.setProperty(&lt;/SPAN&gt;"oracle.net.tns_admin"&lt;SPAN class="s1"&gt;, &lt;/SPAN&gt;"DIRECTORYOFTHETNSFILE"&lt;SPAN class="s1"&gt;);&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;In my oracle connections I specified Oracle Custom as the type and used this as the&amp;nbsp;URL:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;jdbc&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA5A.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143082iB236712184B767DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA5A.png" alt="0683p000009MA5A.png" /&gt;&lt;/span&gt;racle:thin:@NAMEINTNSFILE&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;This allows for talend to reference the tns file each time a job has been run and load the current information&amp;nbsp;contained in the TNS file to specifiy the connection.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 May 2018 15:29:25 GMT</pubDate>
    <dc:creator>calebthegeek</dc:creator>
    <dc:date>2018-05-29T15:29:25Z</dc:date>
    <item>
      <title>TNS changes in oracle connection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TNS-changes-in-oracle-connection/m-p/2347628#M114846</link>
      <description>&lt;P&gt;Hi all - I have been working on a job that using a TNSNAMES file to define a connection to an Oracle service name. However, it seems to pull in the data but does not reflect the change that has been made to the tns file on the server with the same path (it imports them when I select it but if we are changing a listener, for example, it is not pulled in until I reload the info in the talend&amp;nbsp;IDE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on what I am doing wrong or if there is a workaround to pull in TNS info dynamically if this is indeed working as designed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Caleb&lt;/P&gt;</description>
      <pubDate>Fri, 25 May 2018 19:22:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TNS-changes-in-oracle-connection/m-p/2347628#M114846</guid>
      <dc:creator>calebthegeek</dc:creator>
      <dc:date>2018-05-25T19:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: TNS changes in oracle connection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TNS-changes-in-oracle-connection/m-p/2347629#M114847</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you please clarify in which Talend version/edition you are? Did you select "&lt;SPAN class="ph uicontrol"&gt;Use tns file&lt;/SPAN&gt;" checkbox in tOracleConnection component to use the metadata of a context included in a tns file?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sabrina&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 07:24:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TNS-changes-in-oracle-connection/m-p/2347629#M114847</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-29T07:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: TNS changes in oracle connection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TNS-changes-in-oracle-connection/m-p/2347630#M114848</link>
      <description>&lt;P&gt;Yes, I did try checking that - however, it only pulls in the info in a TNS file it does not reference that info going forward (if you change the TNS file it does not automatically update the job). However, after a couple of hours of tinkering, I was able to make things behave how I wanted - see below.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Added a tJava as the first item of my prejob with the following line in it:&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;System.setProperty(&lt;/SPAN&gt;"oracle.net.tns_admin"&lt;SPAN class="s1"&gt;, &lt;/SPAN&gt;"DIRECTORYOFTHETNSFILE"&lt;SPAN class="s1"&gt;);&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;In my oracle connections I specified Oracle Custom as the type and used this as the&amp;nbsp;URL:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;jdbc&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA5A.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143082iB236712184B767DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA5A.png" alt="0683p000009MA5A.png" /&gt;&lt;/span&gt;racle:thin:@NAMEINTNSFILE&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;This allows for talend to reference the tns file each time a job has been run and load the current information&amp;nbsp;contained in the TNS file to specifiy the connection.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 15:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TNS-changes-in-oracle-connection/m-p/2347630#M114848</guid>
      <dc:creator>calebthegeek</dc:creator>
      <dc:date>2018-05-29T15:29:25Z</dc:date>
    </item>
  </channel>
</rss>

