<?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: Best practice for configuring DB connections in TOS in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Best-practice-for-configuring-DB-connections-in-TOS/m-p/2232953#M22753</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When you create your database connection, you have an "&lt;A href="https://help.talend.com/reader/n2BYbtcWI4dtJfLCv3CrJw/XgNZPzqgwAyP6tRxBZgtrA" target="_self" rel="nofollow noopener noreferrer"&gt;Export as context&lt;/A&gt;" button.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Click on it and all the variables will be exported in a context group.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In your job, it will now be the context variables which will be used in the database connection component for example instead of fixed Strings.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now, all you have to do is load the correct values in the context variables depending on your environment (DEV, QA, PROD).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The easiest way to achieve this is by &lt;A href="https://help.talend.com/reader/uhWHPEPm1I1Mq6dAgoaNRw/o_PoYOqMSEQTxkDljLb~Kg" target="_self" rel="nofollow noopener noreferrer"&gt;creating a context for your different environments&lt;/A&gt;.&lt;/P&gt; 
&lt;P&gt;However, it's not the easiest to maintain nor the safest.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You also have more complex options, such as &lt;A href="https://help.talend.com/reader/mhqCkTBnin7IXmJBUJoocQ/nkXzwfgTp5OwTNP0nTajow" target="_self" rel="nofollow noopener noreferrer"&gt;implicit&lt;/A&gt; or &lt;A href="https://help.talend.com/reader/AsV4_TX51DXfRElBkPQ4Qw/xH2TyYr_AmQnKwOYlqVCvA" target="_self" rel="nofollow noopener noreferrer"&gt;explicit&lt;/A&gt; dynamic load of context.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jul 2019 08:09:38 GMT</pubDate>
    <dc:creator>lennelei</dc:creator>
    <dc:date>2019-07-17T08:09:38Z</dc:date>
    <item>
      <title>Best practice for configuring DB connections in TOS</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Best-practice-for-configuring-DB-connections-in-TOS/m-p/2232952#M22752</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt; 
&lt;P&gt;Posting again...Can you please help me with this simple scenario....&lt;/P&gt; 
&lt;P&gt;I have a simple job that reads table DEV_DB.src_T1 and loads DEV_DB.Tgt_T1. I have developed and tested this on my Dev DB and it works well.&lt;/P&gt; 
&lt;P&gt;Now I want to do the following, where i need your help:&lt;/P&gt; 
&lt;P&gt;1) Assuming QA is nothing but a different folder on a different machine (weird but looks like that's what it is in Talend) how do i move the code to QA, is it just a export and import? When i import, how do i ensure that the code in QA folder points to QA DB and not point to DEV DB&lt;/P&gt; 
&lt;P&gt;Meaning, this&amp;nbsp; job now reads table QA_DB.src_T1 and loads QA_DB.Tgt_T1&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is a very very basic need of any project and i don't find a direct answer to this simple problem from the documentation.&amp;nbsp;I have read through most of the related threads on similar topics where people are talking about context variables and all those threads are left half way through...and some are pointing to Repository manager, don't know where that Repository Manager is.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can you share some thoughts on this please.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:15:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Best-practice-for-configuring-DB-connections-in-TOS/m-p/2232952#M22752</guid>
      <dc:creator>tnewbie</dc:creator>
      <dc:date>2024-11-16T05:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice for configuring DB connections in TOS</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Best-practice-for-configuring-DB-connections-in-TOS/m-p/2232953#M22753</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When you create your database connection, you have an "&lt;A href="https://help.talend.com/reader/n2BYbtcWI4dtJfLCv3CrJw/XgNZPzqgwAyP6tRxBZgtrA" target="_self" rel="nofollow noopener noreferrer"&gt;Export as context&lt;/A&gt;" button.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Click on it and all the variables will be exported in a context group.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In your job, it will now be the context variables which will be used in the database connection component for example instead of fixed Strings.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now, all you have to do is load the correct values in the context variables depending on your environment (DEV, QA, PROD).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The easiest way to achieve this is by &lt;A href="https://help.talend.com/reader/uhWHPEPm1I1Mq6dAgoaNRw/o_PoYOqMSEQTxkDljLb~Kg" target="_self" rel="nofollow noopener noreferrer"&gt;creating a context for your different environments&lt;/A&gt;.&lt;/P&gt; 
&lt;P&gt;However, it's not the easiest to maintain nor the safest.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You also have more complex options, such as &lt;A href="https://help.talend.com/reader/mhqCkTBnin7IXmJBUJoocQ/nkXzwfgTp5OwTNP0nTajow" target="_self" rel="nofollow noopener noreferrer"&gt;implicit&lt;/A&gt; or &lt;A href="https://help.talend.com/reader/AsV4_TX51DXfRElBkPQ4Qw/xH2TyYr_AmQnKwOYlqVCvA" target="_self" rel="nofollow noopener noreferrer"&gt;explicit&lt;/A&gt; dynamic load of context.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 08:09:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Best-practice-for-configuring-DB-connections-in-TOS/m-p/2232953#M22753</guid>
      <dc:creator>lennelei</dc:creator>
      <dc:date>2019-07-17T08:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice for configuring DB connections in TOS</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Best-practice-for-configuring-DB-connections-in-TOS/m-p/2232954#M22754</link>
      <description>&lt;P&gt;Greatly appreciate the response and a big "Thank You" Lennelei...will try and let you know&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 16:41:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Best-practice-for-configuring-DB-connections-in-TOS/m-p/2232954#M22754</guid>
      <dc:creator>tnewbie</dc:creator>
      <dc:date>2019-07-17T16:41:28Z</dc:date>
    </item>
  </channel>
</rss>

