<?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 Export image file to binary field in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Export-image-file-to-binary-field/m-p/2262204#M42740</link>
    <description>Hi and thank you for this real great tool.&lt;BR /&gt; &lt;BR /&gt;I have to migrate some contents from MySQL to Ms SQL data base&lt;BR /&gt;Into my MySQL data base i have only paths of some pictures, i would like to stock the binary of pictures into my MS SQL database.&lt;BR /&gt;I know that it is possible with TftpfileList or TfileList but have no idea how to convert content and how should i order and arrange those components to do it.&lt;BR /&gt;If some one can share his experience or help me to do that. &lt;BR /&gt;(PS : I'm using Talend Open Studio)&lt;BR /&gt;Thanks !!!</description>
    <pubDate>Sat, 16 Nov 2024 13:16:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T13:16:32Z</dc:date>
    <item>
      <title>Export image file to binary field</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-image-file-to-binary-field/m-p/2262204#M42740</link>
      <description>Hi and thank you for this real great tool.&lt;BR /&gt; &lt;BR /&gt;I have to migrate some contents from MySQL to Ms SQL data base&lt;BR /&gt;Into my MySQL data base i have only paths of some pictures, i would like to stock the binary of pictures into my MS SQL database.&lt;BR /&gt;I know that it is possible with TftpfileList or TfileList but have no idea how to convert content and how should i order and arrange those components to do it.&lt;BR /&gt;If some one can share his experience or help me to do that. &lt;BR /&gt;(PS : I'm using Talend Open Studio)&lt;BR /&gt;Thanks !!!</description>
      <pubDate>Sat, 16 Nov 2024 13:16:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-image-file-to-binary-field/m-p/2262204#M42740</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Export image file to binary field</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-image-file-to-binary-field/m-p/2262205#M42741</link>
      <description>Yes I've done this - I'll post the details on Monday as I'm just on my way home.</description>
      <pubDate>Fri, 24 Sep 2010 16:58:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-image-file-to-binary-field/m-p/2262205#M42741</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2010-09-24T16:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Export image file to binary field</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-image-file-to-binary-field/m-p/2262206#M42742</link>
      <description>This is what I did to populate a ms SQLserver database.
&lt;BR /&gt;It requires a routine ImageUtil
&lt;BR /&gt;// template routine Java
&lt;BR /&gt;package routines;
&lt;BR /&gt;import java.io.FileInputStream;
&lt;BR /&gt;import java.io.File;
&lt;BR /&gt;import java.io.FileNotFoundException;
&lt;BR /&gt;public class ImageUtil {
&lt;BR /&gt; public static byte[] getByte(String filepath) {
&lt;BR /&gt; byte[] b=null;
&lt;BR /&gt; 
&lt;BR /&gt; try {
&lt;BR /&gt; FileInputStream fis = new FileInputStream(filepath);
&lt;BR /&gt; b=new byte;
&lt;BR /&gt; fis.read(b);
&lt;BR /&gt; } catch (Exception e) {
&lt;BR /&gt; e.printStackTrace();
&lt;BR /&gt; }
&lt;BR /&gt; return b;
&lt;BR /&gt; }
&lt;BR /&gt;}
&lt;BR /&gt;This is used to create the image as a byte array in tMap4 for input to the database column which has a datatype of image.</description>
      <pubDate>Mon, 27 Sep 2010 10:13:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-image-file-to-binary-field/m-p/2262206#M42742</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2010-09-27T10:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Export image file to binary field</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-image-file-to-binary-field/m-p/2262207#M42743</link>
      <description>Thank you very much !!&lt;BR /&gt;I will try that.</description>
      <pubDate>Mon, 04 Oct 2010 16:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-image-file-to-binary-field/m-p/2262207#M42743</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-10-04T16:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Export image file to binary field</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Export-image-file-to-binary-field/m-p/2262208#M42744</link>
      <description>Hi,my team is also &amp;nbsp;trying to do this.It will be great if you can elaborate the process.</description>
      <pubDate>Thu, 21 Apr 2016 09:53:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Export-image-file-to-binary-field/m-p/2262208#M42744</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-21T09:53:23Z</dc:date>
    </item>
  </channel>
</rss>

