<?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 java sql exception - tMysqlinput to csv outfile in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/java-sql-exception-tMysqlinput-to-csv-outfile/m-p/2346027#M113476</link>
    <description>Hi,&lt;BR /&gt;I am getting this error,&lt;BR /&gt;Exception in component tMysqlInput_1&lt;BR /&gt;java.sql.SQLException: Invalid value for getInt() - 'C1567F5325EE09C4B6A8750D1F985331'&lt;BR /&gt;	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1074)&lt;BR /&gt;	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:988)&lt;BR /&gt;	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:974)&lt;BR /&gt;	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)&lt;BR /&gt;	at com.mysql.jdbc.ResultSetImpl.getInt(ResultSetImpl.java:2825)&lt;BR /&gt;I am trying to take out file from mysql. When I try simply its working.&lt;BR /&gt;The scenario here is this particular value is stored on MySQL as BINARY datatype. When I try to use HEX() to convert its coming like this  'C1567F5325EE09C4B6A8750D1F985331'. I am not sure why talend is looking for a Integer value since the datatype on DB is BINARY and when I retrieve schema, its showing as boolean.&lt;BR /&gt;Please note that same like this few other columns are working. also when I try only with this column on SELECT query, its working.&lt;BR /&gt;Please suggest where I am wrong. PLease let me know if need any further details.</description>
    <pubDate>Wed, 23 Apr 2014 10:14:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-04-23T10:14:10Z</dc:date>
    <item>
      <title>java sql exception - tMysqlinput to csv outfile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-sql-exception-tMysqlinput-to-csv-outfile/m-p/2346027#M113476</link>
      <description>Hi,&lt;BR /&gt;I am getting this error,&lt;BR /&gt;Exception in component tMysqlInput_1&lt;BR /&gt;java.sql.SQLException: Invalid value for getInt() - 'C1567F5325EE09C4B6A8750D1F985331'&lt;BR /&gt;	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1074)&lt;BR /&gt;	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:988)&lt;BR /&gt;	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:974)&lt;BR /&gt;	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)&lt;BR /&gt;	at com.mysql.jdbc.ResultSetImpl.getInt(ResultSetImpl.java:2825)&lt;BR /&gt;I am trying to take out file from mysql. When I try simply its working.&lt;BR /&gt;The scenario here is this particular value is stored on MySQL as BINARY datatype. When I try to use HEX() to convert its coming like this  'C1567F5325EE09C4B6A8750D1F985331'. I am not sure why talend is looking for a Integer value since the datatype on DB is BINARY and when I retrieve schema, its showing as boolean.&lt;BR /&gt;Please note that same like this few other columns are working. also when I try only with this column on SELECT query, its working.&lt;BR /&gt;Please suggest where I am wrong. PLease let me know if need any further details.</description>
      <pubDate>Wed, 23 Apr 2014 10:14:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-sql-exception-tMysqlinput-to-csv-outfile/m-p/2346027#M113476</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-23T10:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: java sql exception - tMysqlinput to csv outfile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-sql-exception-tMysqlinput-to-csv-outfile/m-p/2346028#M113477</link>
      <description>Hello - have you tried setting the datatype as Object when reading from MySQL?&lt;BR /&gt;Will you be processing/transforming this data with Talend?</description>
      <pubDate>Wed, 23 Apr 2014 15:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-sql-exception-tMysqlinput-to-csv-outfile/m-p/2346028#M113477</guid>
      <dc:creator>willm1</dc:creator>
      <dc:date>2014-04-23T15:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: java sql exception - tMysqlinput to csv outfile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-sql-exception-tMysqlinput-to-csv-outfile/m-p/2346029#M113478</link>
      <description>Hi Will, Thanks for the response.&lt;BR /&gt;I have tried by changing all the data types including Object and its not working.&lt;BR /&gt;The same column is working fine when I try with only that particular column. It is NOT working when I try with all the columns.&lt;BR /&gt;I am using Talend to get outfile from mysql.&lt;BR /&gt;Please let me know any particular thing to be checked.</description>
      <pubDate>Thu, 24 Apr 2014 08:16:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-sql-exception-tMysqlinput-to-csv-outfile/m-p/2346029#M113478</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-24T08:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: java sql exception - tMysqlinput to csv outfile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-sql-exception-tMysqlinput-to-csv-outfile/m-p/2346030#M113479</link>
      <description>Hi,&lt;BR /&gt;Have you checked ?&lt;BR /&gt;mysql&amp;gt; SELECT HEX(CHAR(1,0)), HEX(CHAR(256));&lt;BR /&gt;+----------------+----------------+&lt;BR /&gt;| HEX(CHAR(1,0)) | HEX(CHAR(256)) |&lt;BR /&gt;+----------------+----------------+&lt;BR /&gt;| 0100           | 0100           |&lt;BR /&gt;&lt;A href="http://dev.mysql.com/doc/refman/5.0/en/string-functions.html" rel="nofollow noopener noreferrer"&gt;http://dev.mysql.com/doc/refman/5.0/en/string-functions.html&lt;/A&gt;&lt;BR /&gt;I think issue is in conversion and using Hex()&lt;BR /&gt;Vaibhav</description>
      <pubDate>Thu, 24 Apr 2014 10:05:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-sql-exception-tMysqlinput-to-csv-outfile/m-p/2346030#M113479</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-24T10:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: java sql exception - tMysqlinput to csv outfile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-sql-exception-tMysqlinput-to-csv-outfile/m-p/2346031#M113480</link>
      <description>I dont see any issue from MySQL end.&lt;BR /&gt;I am getting this error, Invalid value for getLong() - 'DB001'.&lt;BR /&gt;This value 'DB001' is returning from a column and the data type of this is varchar(50) and I have defined on Talend as "Object"&lt;BR /&gt;Also I dont think Talend is throwing the error for that particular column. Because when I try to execute the same column with select query, its working fine. &lt;BR /&gt;Real error may be because of some other column, but Talend is not throwing the proper/exact column.&lt;BR /&gt;-Partha</description>
      <pubDate>Fri, 25 Apr 2014 12:39:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-sql-exception-tMysqlinput-to-csv-outfile/m-p/2346031#M113480</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-25T12:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: java sql exception - tMysqlinput to csv outfile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-sql-exception-tMysqlinput-to-csv-outfile/m-p/2346032#M113481</link>
      <description>Can you pl put the screenshot of your job and important transformations if you are doing any?&lt;BR /&gt;Vaibhav</description>
      <pubDate>Fri, 25 Apr 2014 12:43:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-sql-exception-tMysqlinput-to-csv-outfile/m-p/2346032#M113481</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-25T12:43:19Z</dc:date>
    </item>
  </channel>
</rss>

