<?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 Error copy Data base With Dynamic Schema in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-copy-Data-base-With-Dynamic-Schema/m-p/2315008#M85712</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I transfer my data base which come from MSQL Server for going Oracle. I use job with a iteration on all tables and the all tables are transfered one per one with two components tmssqlinput and toracleoutput with dynamic schema.&lt;BR /&gt;So i have two problems and i don't find a solution :&lt;BR /&gt;&lt;BR /&gt;- On MSSQL Server i have fields which returns values "null" but in &amp;nbsp;Oracle DB my fields can't accept values "NULL". My field in Oracle have a default value. How to do for replace value NULL per "" or 0&lt;BR /&gt;&lt;BR /&gt;- Second problem is.. On MSSQL i have an Image in MSQL DB..... :-/And on oracle the field is BLOB, i have error : "java.sql.SQLException:Invalid column type". I have tchek the mapping talend (on windows-&amp;gt;preference-&amp;gt;specific setting-&amp;gt;Metada of Talend) and they are same for the two DB.&lt;BR /&gt;&lt;BR /&gt;My version talend is 6.0.1.20150908_1633&lt;BR /&gt;&lt;A href="https://community.talend.com/legacyfs/online/150375/2015-11-26_105129.png.png" target="_blank" rel="noopener"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGwq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150130i4332696EE30F6B1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGwq.png" alt="0683p000009MGwq.png" /&gt;&lt;/span&gt; &lt;/A&gt;&lt;BR /&gt;Thank for your help,&lt;/P&gt;</description>
    <pubDate>Thu, 26 Nov 2015 09:52:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-11-26T09:52:52Z</dc:date>
    <item>
      <title>Error copy Data base With Dynamic Schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-copy-Data-base-With-Dynamic-Schema/m-p/2315008#M85712</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I transfer my data base which come from MSQL Server for going Oracle. I use job with a iteration on all tables and the all tables are transfered one per one with two components tmssqlinput and toracleoutput with dynamic schema.&lt;BR /&gt;So i have two problems and i don't find a solution :&lt;BR /&gt;&lt;BR /&gt;- On MSSQL Server i have fields which returns values "null" but in &amp;nbsp;Oracle DB my fields can't accept values "NULL". My field in Oracle have a default value. How to do for replace value NULL per "" or 0&lt;BR /&gt;&lt;BR /&gt;- Second problem is.. On MSSQL i have an Image in MSQL DB..... :-/And on oracle the field is BLOB, i have error : "java.sql.SQLException:Invalid column type". I have tchek the mapping talend (on windows-&amp;gt;preference-&amp;gt;specific setting-&amp;gt;Metada of Talend) and they are same for the two DB.&lt;BR /&gt;&lt;BR /&gt;My version talend is 6.0.1.20150908_1633&lt;BR /&gt;&lt;A href="https://community.talend.com/legacyfs/online/150375/2015-11-26_105129.png.png" target="_blank" rel="noopener"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGwq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150130i4332696EE30F6B1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGwq.png" alt="0683p000009MGwq.png" /&gt;&lt;/span&gt; &lt;/A&gt;&lt;BR /&gt;Thank for your help,&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:52:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-copy-Data-base-With-Dynamic-Schema/m-p/2315008#M85712</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-26T09:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error copy Data base With Dynamic Schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-copy-Data-base-With-Dynamic-Schema/m-p/2315009#M85713</link>
      <description>Both problems are hard to solve. You have to think about the dynamic schema as a Map with the column names as keys and the column values as values in the map. 
&lt;BR /&gt;The problem with null values can only be solved with coalesce in the query. The default values in the target table definition only applies if you do not set any value (also null) in the insert/update statement. This is a common misconception about the default values in a table. 
&lt;BR /&gt; 
&lt;BR /&gt;BLOBs are often different stored inside the databases and Talend has actually no dedicated type for this. 
&lt;BR /&gt;Take care you set for the BLOB columns as type Object instead of byte[]. This should work.</description>
      <pubDate>Thu, 26 Nov 2015 15:45:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-copy-Data-base-With-Dynamic-Schema/m-p/2315009#M85713</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-26T15:45:36Z</dc:date>
    </item>
  </channel>
</rss>

