<?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: CLOB (Oracle DB) to String (XML) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/CLOB-Oracle-DB-to-String-XML/m-p/2321708#M91715</link>
    <description>Shong,
&lt;BR /&gt;Thank you for your time.
&lt;BR /&gt;The given solution is to read the complete XML file from CLOB column and then parsing it to respective columns. I have tired to do it this way once with out success.
&lt;BR /&gt;The one I have mentioned is, raw data in a CLOB column (Not the XML data). For example: detail description of a book. We need to read this and load it into XML file.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Sangi</description>
    <pubDate>Thu, 09 May 2013 15:25:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-05-09T15:25:41Z</dc:date>
    <item>
      <title>CLOB (Oracle DB) to String (XML)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CLOB-Oracle-DB-to-String-XML/m-p/2321706#M91713</link>
      <description>Hi 
&lt;BR /&gt;We are using Talend 5.1.1 to read Oracle table (tOracleInput) and write into an XML file. 
&lt;BR /&gt;Oracle table has 2 CLOB columns (Total Columns: 10) and has only 6000 records. 
&lt;BR /&gt;The Talend job is running more than an hour just to read the data. 
&lt;BR /&gt;Currently, we are reading these datatypes as Objects and DB Type as CLOB. We have written a Java routine to convert the CLOB to String to load into XML file. This routine is taking too much time. 
&lt;BR /&gt;Can anyone please suggest what is the best way to handle CLOB objects in Talend? 
&lt;BR /&gt;Thank you for your time. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Sangi</description>
      <pubDate>Thu, 09 May 2013 14:34:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CLOB-Oracle-DB-to-String-XML/m-p/2321706#M91713</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-09T14:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: CLOB (Oracle DB) to String (XML)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CLOB-Oracle-DB-to-String-XML/m-p/2321707#M91714</link>
      <description>Hi Sangi 
&lt;BR /&gt;Here is a good use case that read ClOB type as input stream from Oracle table, and then use this input stream to write a output file. 
&lt;BR /&gt; 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vClDVCA0" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/resolved-How-to-Read-CLOB-object/td-p/78115&lt;/A&gt; 
&lt;BR /&gt;Please try this solution and give us your feedback. 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 09 May 2013 14:49:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CLOB-Oracle-DB-to-String-XML/m-p/2321707#M91714</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-09T14:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: CLOB (Oracle DB) to String (XML)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CLOB-Oracle-DB-to-String-XML/m-p/2321708#M91715</link>
      <description>Shong,
&lt;BR /&gt;Thank you for your time.
&lt;BR /&gt;The given solution is to read the complete XML file from CLOB column and then parsing it to respective columns. I have tired to do it this way once with out success.
&lt;BR /&gt;The one I have mentioned is, raw data in a CLOB column (Not the XML data). For example: detail description of a book. We need to read this and load it into XML file.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Sangi</description>
      <pubDate>Thu, 09 May 2013 15:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CLOB-Oracle-DB-to-String-XML/m-p/2321708#M91715</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-09T15:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: CLOB (Oracle DB) to String (XML)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CLOB-Oracle-DB-to-String-XML/m-p/2321709#M91716</link>
      <description>Hi 
&lt;BR /&gt;Try to read this ClOB column with byte[] as datatype, CLOB as DB type on tOracleInput, and then convert it to String on tMap without routine. For example:
&lt;BR /&gt;new String(row1.columnName)
&lt;BR /&gt;Shong</description>
      <pubDate>Sat, 11 May 2013 05:57:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CLOB-Oracle-DB-to-String-XML/m-p/2321709#M91716</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-11T05:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: CLOB (Oracle DB) to String (XML)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CLOB-Oracle-DB-to-String-XML/m-p/2321710#M91717</link>
      <description>Hi Shong,
&lt;BR /&gt;Tried to implement the above solution. We have received the following error:
&lt;BR /&gt;Exception in component tOracleInput_8
&lt;BR /&gt;java.sql.SQLException: Unsupported feature
&lt;BR /&gt; at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:197)
&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:261)
&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:269)
&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:490)
&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.throwUnsupportedFeatureSqlException(DatabaseError.java:810)
&lt;BR /&gt; at oracle.jdbc.driver.ClobAccessor.getBytes(ClobAccessor.java:309)
&lt;BR /&gt; at oracle.jdbc.driver.OracleResultSetImpl.getBytes(OracleResultSetImpl.java:552)
&lt;BR /&gt;
&lt;BR /&gt;-
&lt;BR /&gt;Sangi</description>
      <pubDate>Mon, 13 May 2013 16:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CLOB-Oracle-DB-to-String-XML/m-p/2321710#M91717</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-13T16:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: CLOB (Oracle DB) to String (XML)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CLOB-Oracle-DB-to-String-XML/m-p/2321711#M91718</link>
      <description>You need to use Arrays.toString(arr) in your tMap</description>
      <pubDate>Mon, 13 May 2013 16:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CLOB-Oracle-DB-to-String-XML/m-p/2321711#M91718</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2013-05-13T16:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: CLOB (Oracle DB) to String (XML)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CLOB-Oracle-DB-to-String-XML/m-p/2321712#M91719</link>
      <description>Hi,
&lt;BR /&gt;We are unable to read the data from Oracle Input component keeping Byte[] as datatype and CLOB as DB datatype. Would like me to try Arrays.toString(arr) keeping Object as Datatype and CLOB as DB datatype?
&lt;BR /&gt;Thank you for your time.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Sangi</description>
      <pubDate>Tue, 14 May 2013 10:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CLOB-Oracle-DB-to-String-XML/m-p/2321712#M91719</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-14T10:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: CLOB (Oracle DB) to String (XML)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CLOB-Oracle-DB-to-String-XML/m-p/2321713#M91720</link>
      <description>Hi, i am experiencing same problem - i need to read CLOB value and then parse it / save to file.&lt;BR /&gt;1. when i use Object as datatype, CLOB as DB type on tOracleInput, the value of row1.columnname is null&lt;BR /&gt;2. i cannot use byte[] as datatype, CLOB as DB type on tOracleInput, the component does not compile.&lt;BR /&gt;Any suggestions?</description>
      <pubDate>Tue, 25 Mar 2014 08:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CLOB-Oracle-DB-to-String-XML/m-p/2321713#M91720</guid>
      <dc:creator>Gadik</dc:creator>
      <dc:date>2014-03-25T08:22:32Z</dc:date>
    </item>
  </channel>
</rss>

