<?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 What's the use of DB Type in tOracleInput component? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/What-s-the-use-of-DB-Type-in-tOracleInput-component/m-p/2297997#M70512</link>
    <description>&lt;P&gt;I've a table in Oracle db in which a column's datatype is&amp;nbsp;&lt;FONT color="#0000FF"&gt;RAW&lt;/FONT&gt;. When you read that table using tOracleInput component, the &lt;STRONG&gt;Type&lt;/STRONG&gt;, which is java type, for that column can be &lt;STRONG&gt;String&lt;/STRONG&gt; or &lt;STRONG&gt;byte[]&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The component gives warning for below datatype combination -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Case 1:&lt;/P&gt;
&lt;P&gt;-----------------------&lt;/P&gt;
&lt;P&gt;Type: &lt;FONT color="#0000FF"&gt;String&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;DB Type: &lt;FONT color="#0000FF"&gt;RAW&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;-----------------------&lt;/P&gt;
&lt;P&gt;but when you click on the blue icon (Reset DB Types), it populates the &lt;STRONG&gt;DB Type&lt;/STRONG&gt; as&amp;nbsp;&lt;FONT color="#0000FF"&gt;VARCHAR2&lt;/FONT&gt;. The job runs fine even with &lt;STRONG&gt;DB Type&lt;/STRONG&gt; as&amp;nbsp;&lt;FONT color="#0000FF"&gt;VARCHAR2.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It doesn't give warning for the below datatype combination which is understandable -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Case 2:&lt;/P&gt;
&lt;P&gt;-----------------------&lt;/P&gt;
&lt;P&gt;Type: &lt;FONT color="#0000FF"&gt;byte[]&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;DB Type: &lt;FONT color="#0000FF"&gt;RAW&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;-----------------------&lt;/P&gt;
&lt;P&gt;In either cases, the job runs fine which means that the &lt;STRONG&gt;DB Type&lt;/STRONG&gt; doesn't matter. Then why is there an option to specify DB Type in tOracleInput component?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 05:31:03 GMT</pubDate>
    <dc:creator>ksrikanthr</dc:creator>
    <dc:date>2024-11-16T05:31:03Z</dc:date>
    <item>
      <title>What's the use of DB Type in tOracleInput component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/What-s-the-use-of-DB-Type-in-tOracleInput-component/m-p/2297997#M70512</link>
      <description>&lt;P&gt;I've a table in Oracle db in which a column's datatype is&amp;nbsp;&lt;FONT color="#0000FF"&gt;RAW&lt;/FONT&gt;. When you read that table using tOracleInput component, the &lt;STRONG&gt;Type&lt;/STRONG&gt;, which is java type, for that column can be &lt;STRONG&gt;String&lt;/STRONG&gt; or &lt;STRONG&gt;byte[]&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The component gives warning for below datatype combination -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Case 1:&lt;/P&gt;
&lt;P&gt;-----------------------&lt;/P&gt;
&lt;P&gt;Type: &lt;FONT color="#0000FF"&gt;String&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;DB Type: &lt;FONT color="#0000FF"&gt;RAW&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;-----------------------&lt;/P&gt;
&lt;P&gt;but when you click on the blue icon (Reset DB Types), it populates the &lt;STRONG&gt;DB Type&lt;/STRONG&gt; as&amp;nbsp;&lt;FONT color="#0000FF"&gt;VARCHAR2&lt;/FONT&gt;. The job runs fine even with &lt;STRONG&gt;DB Type&lt;/STRONG&gt; as&amp;nbsp;&lt;FONT color="#0000FF"&gt;VARCHAR2.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It doesn't give warning for the below datatype combination which is understandable -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Case 2:&lt;/P&gt;
&lt;P&gt;-----------------------&lt;/P&gt;
&lt;P&gt;Type: &lt;FONT color="#0000FF"&gt;byte[]&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;DB Type: &lt;FONT color="#0000FF"&gt;RAW&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;-----------------------&lt;/P&gt;
&lt;P&gt;In either cases, the job runs fine which means that the &lt;STRONG&gt;DB Type&lt;/STRONG&gt; doesn't matter. Then why is there an option to specify DB Type in tOracleInput component?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:31:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/What-s-the-use-of-DB-Type-in-tOracleInput-component/m-p/2297997#M70512</guid>
      <dc:creator>ksrikanthr</dc:creator>
      <dc:date>2024-11-16T05:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: What's the use of DB Type in tOracleInput component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/What-s-the-use-of-DB-Type-in-tOracleInput-component/m-p/2297998#M70513</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="shortdesc"&gt;There are two data types in the database component schema: the Talend type and the DB type. When retrieving the table schema, there is always a default Talend type to map to the real DB type. Also, there is a default DB type to map to the Talend type on the DB schema, when linking a non-DB component to a DB output component. You can modify the default data type mapping for your project rather than changing it manually every time.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="shortdesc"&gt;A Talend type is an intermediate Java type, mapped for each data type of different databases. These default data type mappings are configured in an XML file. Each kind of database has a separate mapping configuration file. For example, the file mapping_Mysql.xml maps MySQL data types to Talend types.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="shortdesc"&gt;For more information about how to change &lt;/SPAN&gt;the default data type mapping&lt;SPAN class="shortdesc"&gt;, please refer to this &lt;A title="https://help.talend.com/reader/suQPr5cl9mL6NK1g4R8ArA/UvRIcKRZJpKyn2bj8tDzuA" href="https://help.talend.com/reader/suQPr5cl9mL6NK1g4R8ArA/UvRIcKRZJpKyn2bj8tDzuA" target="_self" rel="nofollow noopener noreferrer"&gt;page&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="shortdesc"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="shortdesc"&gt;Sabrina&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 04:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/What-s-the-use-of-DB-Type-in-tOracleInput-component/m-p/2297998#M70513</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-24T04:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: What's the use of DB Type in tOracleInput component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/What-s-the-use-of-DB-Type-in-tOracleInput-component/m-p/2297999#M70514</link>
      <description>&lt;P&gt;&lt;SPAN&gt;xdshi/Sabrina,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You copy pasted some content from Talend documentation but I don't think you understood my question. I'm asking what is the use of &lt;STRONG&gt;DB Type&lt;/STRONG&gt; in the input component when anything is accepted and works?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 04:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/What-s-the-use-of-DB-Type-in-tOracleInput-component/m-p/2297999#M70514</guid>
      <dc:creator>ksrikanthr</dc:creator>
      <dc:date>2019-06-24T04:40:07Z</dc:date>
    </item>
  </channel>
</rss>

