<?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 [resolved] XML as BLOB in Oracle DB reads as null using XML schema in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-XML-as-BLOB-in-Oracle-DB-reads-as-null-using-XML-schema/m-p/2376084#M138343</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have a table containing an XML stored as BLOB.&lt;BR /&gt;I have created a query that selects only that BLOB.&lt;BR /&gt;With the xml file, I have created an xml schema in the metadata that maps only the fields that I am interested in.&lt;BR /&gt;When I use the mapping in a tFileInputXML, it works fine, I get the correct value for the fields in the tLogRow.&lt;BR /&gt;BUT the mapping is automatically used in the query where SELECT the BLOB (&lt;FONT color="black"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier"&gt;CSCHEMA.T_DETAIL.CV&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;[size=2][font=Courier]"&lt;FONT color="#3220a0"&gt;select&lt;/FONT&gt;&amp;nbsp; &lt;FONT color="black"&gt;CSCHEMA.T_DETAIL.CV&lt;/FONT&gt; &lt;FONT color="#3220a0"&gt;from&lt;/FONT&gt; &lt;FONT color="black"&gt;CSCHEMA.T_DETAIL&lt;/FONT&gt; &lt;FONT color="#3220a0"&gt;where&lt;/FONT&gt; &lt;FONT color="black"&gt;CSCHEMA.T_DETAIL.CV&lt;/FONT&gt; &lt;FONT color="#3220a0"&gt;is&lt;/FONT&gt; &lt;FONT color="#3220a0"&gt;not&lt;/FONT&gt; &lt;FONT color="#3220a0"&gt;null&lt;/FONT&gt;"[/font][/size]&lt;BR /&gt;It does select 2 rows, what implies that the select statement works perfectly (I have only 2 rows in my table that contain a CV), but the tLogRow shows null for the mapped values:&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Segoe"&gt;.--------+--------+---------.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Segoe"&gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tLogRow_2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Segoe"&gt;|=-------+--------+--------&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Segoe"&gt;|Language|PersonId|FirstName|&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Segoe"&gt;|=-------+--------+--------&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Segoe"&gt;|null&amp;nbsp;&amp;nbsp;&amp;nbsp; |null&amp;nbsp;&amp;nbsp;&amp;nbsp; |null&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Segoe"&gt;|null&amp;nbsp;&amp;nbsp;&amp;nbsp; |null&amp;nbsp;&amp;nbsp;&amp;nbsp; |null&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Segoe"&gt;'--------+--------+---------'&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Segoe"&gt;Anybody knows why is that and how to solve it&amp;nbsp;?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Segoe"&gt;Thanks in advance.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Aug 2015 11:15:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-19T11:15:39Z</dc:date>
    <item>
      <title>[resolved] XML as BLOB in Oracle DB reads as null using XML schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-XML-as-BLOB-in-Oracle-DB-reads-as-null-using-XML-schema/m-p/2376084#M138343</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have a table containing an XML stored as BLOB.&lt;BR /&gt;I have created a query that selects only that BLOB.&lt;BR /&gt;With the xml file, I have created an xml schema in the metadata that maps only the fields that I am interested in.&lt;BR /&gt;When I use the mapping in a tFileInputXML, it works fine, I get the correct value for the fields in the tLogRow.&lt;BR /&gt;BUT the mapping is automatically used in the query where SELECT the BLOB (&lt;FONT color="black"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier"&gt;CSCHEMA.T_DETAIL.CV&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;[size=2][font=Courier]"&lt;FONT color="#3220a0"&gt;select&lt;/FONT&gt;&amp;nbsp; &lt;FONT color="black"&gt;CSCHEMA.T_DETAIL.CV&lt;/FONT&gt; &lt;FONT color="#3220a0"&gt;from&lt;/FONT&gt; &lt;FONT color="black"&gt;CSCHEMA.T_DETAIL&lt;/FONT&gt; &lt;FONT color="#3220a0"&gt;where&lt;/FONT&gt; &lt;FONT color="black"&gt;CSCHEMA.T_DETAIL.CV&lt;/FONT&gt; &lt;FONT color="#3220a0"&gt;is&lt;/FONT&gt; &lt;FONT color="#3220a0"&gt;not&lt;/FONT&gt; &lt;FONT color="#3220a0"&gt;null&lt;/FONT&gt;"[/font][/size]&lt;BR /&gt;It does select 2 rows, what implies that the select statement works perfectly (I have only 2 rows in my table that contain a CV), but the tLogRow shows null for the mapped values:&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Segoe"&gt;.--------+--------+---------.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Segoe"&gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tLogRow_2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Segoe"&gt;|=-------+--------+--------&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Segoe"&gt;|Language|PersonId|FirstName|&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Segoe"&gt;|=-------+--------+--------&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Segoe"&gt;|null&amp;nbsp;&amp;nbsp;&amp;nbsp; |null&amp;nbsp;&amp;nbsp;&amp;nbsp; |null&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Segoe"&gt;|null&amp;nbsp;&amp;nbsp;&amp;nbsp; |null&amp;nbsp;&amp;nbsp;&amp;nbsp; |null&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Segoe"&gt;'--------+--------+---------'&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Segoe"&gt;Anybody knows why is that and how to solve it&amp;nbsp;?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Segoe"&gt;Thanks in advance.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2015 11:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-XML-as-BLOB-in-Oracle-DB-reads-as-null-using-XML-schema/m-p/2376084#M138343</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-19T11:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] XML as BLOB in Oracle DB reads as null using XML schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-XML-as-BLOB-in-Oracle-DB-reads-as-null-using-XML-schema/m-p/2376085#M138344</link>
      <description>Hi,
&lt;BR /&gt;After looking around, I have found the solution. 
&lt;BR /&gt;When importing the table schema, the DB type appears as a BLOB (correct) and the Talend type appears as object. In fact, from all the possible combinations of DB type and Talend type, in order to be able to read an XML stored as BLOB in an Oracle database is 
&lt;BR /&gt;DB type = XMLType
&lt;BR /&gt;Talend type = Document
&lt;BR /&gt;I hope this can help somebody in the future. It would be nice if Talend could recognize these types automatically.</description>
      <pubDate>Wed, 19 Aug 2015 12:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-XML-as-BLOB-in-Oracle-DB-reads-as-null-using-XML-schema/m-p/2376085#M138344</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-19T12:11:22Z</dc:date>
    </item>
  </channel>
</rss>

