<?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 Using oracle function in toracleoutput or talend function for base64 decoding in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Using-oracle-function-in-toracleoutput-or-talend-function-for/m-p/2269155#M47495</link>
    <description>&lt;P&gt;HI&lt;/P&gt;
&lt;P&gt;I'm extracting an salesforce module where a column is base64 encoded, i need to decrypt and load into an oracle table.&lt;/P&gt;
&lt;P&gt;I have this oracle function "UTL_RAW.CAST_TO_VARCHAR2(UTL_ENCODE.BASE64_DECODE(incput_column))", any idea how i can use this function in the "Advanced setting&amp;gt;Additional column" in tOracleputput component? or is there any talend function available to decode base64 column?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;bb&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 06:34:32 GMT</pubDate>
    <dc:creator>borrisbeck</dc:creator>
    <dc:date>2024-11-16T06:34:32Z</dc:date>
    <item>
      <title>Using oracle function in toracleoutput or talend function for base64 decoding</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-oracle-function-in-toracleoutput-or-talend-function-for/m-p/2269155#M47495</link>
      <description>&lt;P&gt;HI&lt;/P&gt;
&lt;P&gt;I'm extracting an salesforce module where a column is base64 encoded, i need to decrypt and load into an oracle table.&lt;/P&gt;
&lt;P&gt;I have this oracle function "UTL_RAW.CAST_TO_VARCHAR2(UTL_ENCODE.BASE64_DECODE(incput_column))", any idea how i can use this function in the "Advanced setting&amp;gt;Additional column" in tOracleputput component? or is there any talend function available to decode base64 column?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;bb&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-oracle-function-in-toracleoutput-or-talend-function-for/m-p/2269155#M47495</guid>
      <dc:creator>borrisbeck</dc:creator>
      <dc:date>2024-11-16T06:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using oracle function in toracleoutput or talend function for base64 decoding</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-oracle-function-in-toracleoutput-or-talend-function-for/m-p/2269156#M47496</link>
      <description>&lt;P&gt;to decode base64 , you could use simple java code in tjavarow or in tmap&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCqTACA0" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/Decrypt-Decode-BASE64-from-JSON-extract/td-p/43518&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;this will help.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Feb 2019 20:53:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-oracle-function-in-toracleoutput-or-talend-function-for/m-p/2269156#M47496</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-02-15T20:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using oracle function in toracleoutput or talend function for base64 decoding</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-oracle-function-in-toracleoutput-or-talend-function-for/m-p/2269157#M47497</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I did saw that link before posting it, i don't want to use the tjavarow, i did tried various combinations in the tmap, but not successful, can someone show me an example of how to use those functions in the tmap, when i tried i'm getting error "BASE64Decoder cannot be resolved" and i tried other links such as "&lt;A href="https://stackoverflow.com/questions/2817752/java-code-to-convert-byte-to-hexadecimal" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/2817752/java-code-to-convert-byte-to-hexadecimal&lt;/A&gt;", but nothing worked out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;also i found this function in oracle ""UTL_RAW.CAST_TO_VARCHAR2(UTL_ENCODE.BASE64_DECODE(RAWTOHEX ()))" when i tried it in the toracleoutput&amp;gt;advanced settings&amp;gt;additional columns"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this didn't worked as well.the main question using the above function is, how to use the incoming row from tmap in this function?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can someone show me an example of both the java functions in tmap and using the oracle function in in the toracleoutput&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks bb&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 20:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-oracle-function-in-toracleoutput-or-talend-function-for/m-p/2269157#M47497</guid>
      <dc:creator>borrisbeck</dc:creator>
      <dc:date>2019-02-19T20:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using oracle function in toracleoutput or talend function for base64 decoding</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-oracle-function-in-toracleoutput-or-talend-function-for/m-p/2269158#M47498</link>
      <description>&lt;P&gt;Hello ,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am able to decode zith below expression in tMap&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;new String(new sun.misc.BASE64Decoder().decodeBuffer(&lt;STRONG&gt;&lt;EM&gt;row1.newColumn&lt;/EM&gt;&lt;/STRONG&gt;), java.nio.charset.StandardCharsets.UTF_8); &lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Talend.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M3DV.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140812iADAF179FD0E0CD39/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M3DV.jpg" alt="0683p000009M3DV.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 21:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-oracle-function-in-toracleoutput-or-talend-function-for/m-p/2269158#M47498</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-02-19T21:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using oracle function in toracleoutput or talend function for base64 decoding</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-oracle-function-in-toracleoutput-or-talend-function-for/m-p/2269159#M47499</link>
      <description>Hi&lt;BR /&gt;Thanks for responding, I tried your solution, i'm receiving the input column from salesforce as "bytle[]" datatype, so at first the job was failing with the error "The method decodeBuffer(String) in the type CharacterDecoder is not applicable for the arguments (byte[])", so using the 'tConvertertype' I changed the datatype to "String" for that particular column, now the job is not failing but the decoding is not proper, i'm the getting the values as "�&amp;#31;��n�k��" in a non-readable form i'm using "CLOB"datatype in oracle...... what am i doing wrong here?</description>
      <pubDate>Wed, 20 Feb 2019 13:45:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-oracle-function-in-toracleoutput-or-talend-function-for/m-p/2269159#M47499</guid>
      <dc:creator>borrisbeck</dc:creator>
      <dc:date>2019-02-20T13:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using oracle function in toracleoutput or talend function for base64 decoding</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-oracle-function-in-toracleoutput-or-talend-function-for/m-p/2269160#M47500</link>
      <description>&lt;P&gt;Hi Ahbishek,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I figured it out, instead of using tconvertertype, i used the java string function, its working fine... thank a lot, much appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;new String(new sun.misc.BASE64Decoder().decodeBuffer(new String(row1.VersionData) ), java.nio.charset.StandardCharsets.UTF_8);&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.mkyong.com/java/how-do-convert-byte-array-to-string-in-java/&amp;nbsp;" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.mkyong.com/java/how-do-convert-byte-array-to-string-in-java/&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 14:14:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-oracle-function-in-toracleoutput-or-talend-function-for/m-p/2269160#M47500</guid>
      <dc:creator>borrisbeck</dc:creator>
      <dc:date>2019-02-20T14:14:24Z</dc:date>
    </item>
  </channel>
</rss>

