<?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: implicit context didn't construct code correctly when integrates with routine. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/implicit-context-didn-t-construct-code-correctly-when-integrates/m-p/2324552#M94242</link>
    <description>Hi 
&lt;A href="https://community.qlik.com/s/profile/00539000004XsaeAAC"&gt;@xdshi&lt;/A&gt; , 
&lt;BR /&gt;Thank you for your reply. This link was updated by 
&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt; . 
&lt;BR /&gt; 
&lt;BR /&gt;In this case, I followed list of steps about best practices for using context variables that developed by 
&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;. My issue struck on I'm unable to define table name as variable that passing from user define routine. 
&lt;BR /&gt; 
&lt;BR /&gt;However, encrypt/decrypt is working fine using jasypt-1.9.2. 
&lt;BR /&gt; 
&lt;BR /&gt;Best regards, 
&lt;BR /&gt;Jeans</description>
    <pubDate>Wed, 17 Jul 2019 10:40:49 GMT</pubDate>
    <dc:creator>DriscollBunt</dc:creator>
    <dc:date>2019-07-17T10:40:49Z</dc:date>
    <item>
      <title>implicit context didn't construct code correctly when integrates with routine.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/implicit-context-didn-t-construct-code-correctly-when-integrates/m-p/2324548#M94238</link>
      <description>&lt;P&gt;Regarding&amp;nbsp;&lt;A href="https://www.talend.com/blog/2019/02/28/best-practices-for-using-context-variables-with-talend-part-3/.&amp;nbsp;" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.talend.com/blog/2019/02/28/best-practices-for-using-context-variables-with-talend-part-3/.&amp;nbsp;&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;I defined TalendContextTableName and&amp;nbsp;TalendContextSchema on&amp;nbsp;properties file.&lt;/P&gt; 
&lt;P&gt;Implicite context, I defined routines.ImplicitContextUtils.getImplicitContextParameterValue("TalendContextSchema",rootPid,pid) on Schema and&amp;nbsp;routines.ImplicitContextUtils.getImplicitContextParameterValue("TalendContextTableName",rootPid,pid) on Table Name.&lt;/P&gt; 
&lt;P&gt;On job, I switch to Code view and found it constructs a wrong java code as following.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;String dbquery_Implicit_Context_Database = &lt;/SPAN&gt;"SELECT \n&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;\"routines.ImplicitContextUtils.getImplicitContextParameterValue("&lt;SPAN&gt;TalendContextSchema&lt;/SPAN&gt;&lt;SPAN&gt;",rootPid,pid)\".\"_MyTable_\".\"key\", \n&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;\"routines.ImplicitContextUtils.getImplicitContextParameterValue("&lt;/SPAN&gt;&lt;SPAN&gt;TalendContextSchema&lt;/SPAN&gt;&lt;SPAN&gt;",rootPid,pid)\".\"_MyTable_\".\"value\"\nFROM \"routines.ImplicitContextUtils.getImplicitContextParameterValue("&lt;/SPAN&gt;&lt;SPAN&gt;TalendContextSchema&lt;/SPAN&gt;&lt;SPAN&gt;",rootPid,pid)\".\"_MyTable_\""&lt;/SPAN&gt;&lt;SPAN&gt;+&lt;/SPAN&gt;" WHERE "&lt;SPAN&gt;+routines.ImplicitContextUtils.getImplicitContextParameterValue(&lt;/SPAN&gt;"TalendContextEnvironment"&lt;SPAN&gt;,rootPid,pid);&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Do we have another way to let Talend Open Studio&amp;nbsp;Version: 7.1.1 constructs the java code correctly when using routine define in parameter in implicit context?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Best regards,&lt;/P&gt; 
&lt;P&gt;Jeans&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:21:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/implicit-context-didn-t-construct-code-correctly-when-integrates/m-p/2324548#M94238</guid>
      <dc:creator>DriscollBunt</dc:creator>
      <dc:date>2024-11-16T05:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: implicit context didn't construct code correctly when integrates with routine.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/implicit-context-didn-t-construct-code-correctly-when-integrates/m-p/2324549#M94239</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;This link you provided navigates to error page.&lt;/P&gt; 
&lt;P&gt;Do you want to implement data encryption/decryption feature using Context Framework?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 08:57:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/implicit-context-didn-t-construct-code-correctly-when-integrates/m-p/2324549#M94239</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-17T08:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: implicit context didn't construct code correctly when integrates with routine.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/implicit-context-didn-t-construct-code-correctly-when-integrates/m-p/2324550#M94240</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMqbAAG"&gt;@JeansBunt&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for looking at my blog and for highlighting this. I was using a MySQL database when I was writing this and did not have to specify a schema. I also, by pure chance, hard coded my table name. I therefore did not spot this problem.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;It turns out that the table name and schema do not appear to permit the calling of Java methods. They take whatever is written in those fields as literal values. This is rather frustrating, but does not stop you from making use of this functionality. It just means that you will need to hard code the table name and schema, leaving everything else dynamic.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Sorry that I did not cover this in my tutorial. As I said, I will go back a edit this to make sure this is made clear. Thank you for highlighting it&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000004XsaeAAC"&gt;@xdshi&lt;/A&gt;&amp;nbsp;the link that was supplied is this one....&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://www.talend.com/blog/2019/02/28/best-practices-for-using-context-variables-with-talend-part-3" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.talend.com/blog/2019/02/28/best-practices-for-using-context-variables-with-talend-part-3&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It looks like some extra url parameters were attached to the end&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 09:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/implicit-context-didn-t-construct-code-correctly-when-integrates/m-p/2324550#M94240</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-17T09:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: implicit context didn't construct code correctly when integrates with routine.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/implicit-context-didn-t-construct-code-correctly-when-integrates/m-p/2324551#M94241</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you for explanation. I agree with you that we need hard code to define a table_name.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;However, your blog is really useful to support dynamics switch the job between environment by simply change ENV value. I'm appreciate your sharing.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000004XsaeAAC"&gt;@xdshi&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;Thank you for your reply. This link was updated by&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&amp;nbsp;.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Jeans&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 10:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/implicit-context-didn-t-construct-code-correctly-when-integrates/m-p/2324551#M94241</guid>
      <dc:creator>DriscollBunt</dc:creator>
      <dc:date>2019-07-17T10:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: implicit context didn't construct code correctly when integrates with routine.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/implicit-context-didn-t-construct-code-correctly-when-integrates/m-p/2324552#M94242</link>
      <description>Hi 
&lt;A href="https://community.qlik.com/s/profile/00539000004XsaeAAC"&gt;@xdshi&lt;/A&gt; , 
&lt;BR /&gt;Thank you for your reply. This link was updated by 
&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt; . 
&lt;BR /&gt; 
&lt;BR /&gt;In this case, I followed list of steps about best practices for using context variables that developed by 
&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;. My issue struck on I'm unable to define table name as variable that passing from user define routine. 
&lt;BR /&gt; 
&lt;BR /&gt;However, encrypt/decrypt is working fine using jasypt-1.9.2. 
&lt;BR /&gt; 
&lt;BR /&gt;Best regards, 
&lt;BR /&gt;Jeans</description>
      <pubDate>Wed, 17 Jul 2019 10:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/implicit-context-didn-t-construct-code-correctly-when-integrates/m-p/2324552#M94242</guid>
      <dc:creator>DriscollBunt</dc:creator>
      <dc:date>2019-07-17T10:40:49Z</dc:date>
    </item>
  </channel>
</rss>

