<?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 transfer into String/VARCHAR2 in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/CLOB-transfer-into-String-VARCHAR2/m-p/2219986#M14567</link>
    <description>Error meesage:
&lt;BR /&gt;Exception in component tOracleInput_3
&lt;BR /&gt;java.sql.SQLException: Fail to convert to internal representation
&lt;BR /&gt; at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:439)
&lt;BR /&gt; at oracle.jdbc.driver.CharCommonAccessor.getInt(CharCommonAccessor.java:140)
&lt;BR /&gt; at oracle.jdbc.driver.T4CVarcharAccessor.getInt(T4CVarcharAccessor.java:779)
&lt;BR /&gt; at oracle.jdbc.driver.OracleResultSetImpl.getInt(OracleResultSetImpl.java:712)
&lt;BR /&gt; disconnected
&lt;BR /&gt; at oltptranfer.transfer_webdevtoinfdev_0_1.Transfer_WEBDEVtoINFDEV.tOracleInput_3Process(Transfer_WEBDEVtoINFDEV.java:4576)
&lt;BR /&gt; at oltptranfer.transfer_webdevtoinfdev_0_1.Transfer_WEBDEVtoINFDEV.runJobInTOS(Transfer_WEBDEVtoINFDEV.java:5178)
&lt;BR /&gt; at oltptranfer.transfer_webdevtoinfdev_0_1.Transfer_WEBDEVtoINFDEV.main(Transfer_WEBDEVtoINFDEV.java:5037)</description>
    <pubDate>Wed, 27 Aug 2008 20:05:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-08-27T20:05:24Z</dc:date>
    <item>
      <title>CLOB transfer into String/VARCHAR2</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CLOB-transfer-into-String-VARCHAR2/m-p/2219985#M14566</link>
      <description>I am transfering data between two 10G oracle databases.&lt;BR /&gt;The CLOB columns must be transferred into VARCHAR2(500) columns.&lt;BR /&gt;I am using the tmap component.&lt;BR /&gt;The CLOB columns are OBJECT type in the tmap. Can I apply a java function to transform them into string?&lt;BR /&gt;Thanks.</description>
      <pubDate>Sat, 16 Nov 2024 14:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CLOB-transfer-into-String-VARCHAR2/m-p/2219985#M14566</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: CLOB transfer into String/VARCHAR2</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CLOB-transfer-into-String-VARCHAR2/m-p/2219986#M14567</link>
      <description>Error meesage:
&lt;BR /&gt;Exception in component tOracleInput_3
&lt;BR /&gt;java.sql.SQLException: Fail to convert to internal representation
&lt;BR /&gt; at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:439)
&lt;BR /&gt; at oracle.jdbc.driver.CharCommonAccessor.getInt(CharCommonAccessor.java:140)
&lt;BR /&gt; at oracle.jdbc.driver.T4CVarcharAccessor.getInt(T4CVarcharAccessor.java:779)
&lt;BR /&gt; at oracle.jdbc.driver.OracleResultSetImpl.getInt(OracleResultSetImpl.java:712)
&lt;BR /&gt; disconnected
&lt;BR /&gt; at oltptranfer.transfer_webdevtoinfdev_0_1.Transfer_WEBDEVtoINFDEV.tOracleInput_3Process(Transfer_WEBDEVtoINFDEV.java:4576)
&lt;BR /&gt; at oltptranfer.transfer_webdevtoinfdev_0_1.Transfer_WEBDEVtoINFDEV.runJobInTOS(Transfer_WEBDEVtoINFDEV.java:5178)
&lt;BR /&gt; at oltptranfer.transfer_webdevtoinfdev_0_1.Transfer_WEBDEVtoINFDEV.main(Transfer_WEBDEVtoINFDEV.java:5037)</description>
      <pubDate>Wed, 27 Aug 2008 20:05:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CLOB-transfer-into-String-VARCHAR2/m-p/2219986#M14567</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-27T20:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: CLOB transfer into String/VARCHAR2</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CLOB-transfer-into-String-VARCHAR2/m-p/2219987#M14568</link>
      <description>Hi,
&lt;BR /&gt;I have the same issue as well. When trying to transfer a column of CLOB type to VARCHAR2. I am using the query to convert CLOB to VARCHAR and insert into the output oracle db. The following query runs well when I test it in SQL builder in TalenD but when I transfer I am getting the error message "Failed to convert to internal representation". Can you please look into this issue? We have been struck with this for quite some time now. 
&lt;BR /&gt;Thanks in advance. 
&lt;BR /&gt;SELECT TO_CHAR(i.item_text) as item_text, 
&lt;BR /&gt; TO_CHAR(ss.subitem_text) as subitem_text, 
&lt;BR /&gt; TO_CHAR(p.page_introduction) as page_introduction,
&lt;BR /&gt; TO_CHAR(i.other_text) as other_text, 
&lt;BR /&gt; TO_CHAR(ia.answer_text) as answer_text, 
&lt;BR /&gt; trim(ia.answer_value) answer_value
&lt;BR /&gt; 
&lt;BR /&gt;FROM SUR_SURVEY_TO_ITEM_MAPPING m, SUR_ITEM i, SUR_PAGE p, 
&lt;BR /&gt;SUR_ITEM_ANSWER ia, sUR_SUBITEM ss
&lt;BR /&gt;WHERE m.item_id = i.item_id
&lt;BR /&gt;AND m.item_id = ia.item_id (+)
&lt;BR /&gt;AND m.item_id = ss.item_id (+)
&lt;BR /&gt;AND m.survey_id = p.survey_id (+)
&lt;BR /&gt;AND m.page_number = p.page_number (+)
&lt;BR /&gt;ORDER BY m.page_number, m.order_number, ss.order_number,ia.order_number</description>
      <pubDate>Tue, 02 Sep 2008 05:08:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CLOB-transfer-into-String-VARCHAR2/m-p/2219987#M14568</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-02T05:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: CLOB transfer into String/VARCHAR2</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CLOB-transfer-into-String-VARCHAR2/m-p/2219988#M14569</link>
      <description>I tried that but you are limited to a VARCHAR of 4000 and my CLOB is bigger than that.</description>
      <pubDate>Mon, 23 Jan 2012 12:33:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CLOB-transfer-into-String-VARCHAR2/m-p/2219988#M14569</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-01-23T12:33:17Z</dc:date>
    </item>
  </channel>
</rss>

