<?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: BLOB object to Salesforce in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/BLOB-object-to-Salesforce/m-p/2256401#M38795</link>
    <description>You will need to convert from&amp;nbsp; 
&lt;FONT color="#242729"&gt;&lt;FONT face="Consolas, Menlo, Monaco, " lucida="" console=""&gt;oracle.sql.BLOB to a String. Retrieve the column as an Object. Cast the Object to a&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT color="#242729"&gt;&lt;FONT face="Consolas, Menlo, Monaco, " lucida="" console=""&gt;oracle.sql.BLOB.&amp;nbsp;&lt;BR /&gt;I *think* something like this will work. Please keep in mind that this is not tested and from memory of doing it a while ago....&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;byte[] byteArray = blobColumn.getBytes(1,blobColumn.length());&lt;BR /&gt;String returnVal = new String(byteArray);&lt;/PRE&gt; 
&lt;BR /&gt; 
&lt;FONT face="consolas, monaco, " bitstream="" vera="" sans="" mono=""&gt;You will probably have to play with that a little to get it to work. f your blobs are massive that will also need changing to &lt;BR /&gt;&lt;/FONT&gt; 
&lt;FONT face="consolas, monaco, " bitstream="" vera="" sans="" mono=""&gt;handle memory issues.&lt;/FONT&gt;</description>
    <pubDate>Fri, 16 Dec 2016 18:20:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-12-16T18:20:08Z</dc:date>
    <item>
      <title>BLOB object to Salesforce</title>
      <link>https://community.qlik.com/t5/Talend-Studio/BLOB-object-to-Salesforce/m-p/2256400#M38794</link>
      <description>Hi All,
&lt;BR /&gt;We have data in BLOB datatype in our oracle Source table. We need to send this data to Salesforce String/Base64 Column.&amp;nbsp;
&lt;BR /&gt;Can anyone let us know how this functionality can be achieved using talend?
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Mohit</description>
      <pubDate>Sat, 16 Nov 2024 10:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/BLOB-object-to-Salesforce/m-p/2256400#M38794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: BLOB object to Salesforce</title>
      <link>https://community.qlik.com/t5/Talend-Studio/BLOB-object-to-Salesforce/m-p/2256401#M38795</link>
      <description>You will need to convert from&amp;nbsp; 
&lt;FONT color="#242729"&gt;&lt;FONT face="Consolas, Menlo, Monaco, " lucida="" console=""&gt;oracle.sql.BLOB to a String. Retrieve the column as an Object. Cast the Object to a&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT color="#242729"&gt;&lt;FONT face="Consolas, Menlo, Monaco, " lucida="" console=""&gt;oracle.sql.BLOB.&amp;nbsp;&lt;BR /&gt;I *think* something like this will work. Please keep in mind that this is not tested and from memory of doing it a while ago....&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;byte[] byteArray = blobColumn.getBytes(1,blobColumn.length());&lt;BR /&gt;String returnVal = new String(byteArray);&lt;/PRE&gt; 
&lt;BR /&gt; 
&lt;FONT face="consolas, monaco, " bitstream="" vera="" sans="" mono=""&gt;You will probably have to play with that a little to get it to work. f your blobs are massive that will also need changing to &lt;BR /&gt;&lt;/FONT&gt; 
&lt;FONT face="consolas, monaco, " bitstream="" vera="" sans="" mono=""&gt;handle memory issues.&lt;/FONT&gt;</description>
      <pubDate>Fri, 16 Dec 2016 18:20:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/BLOB-object-to-Salesforce/m-p/2256401#M38795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-16T18:20:08Z</dc:date>
    </item>
  </channel>
</rss>

