<?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: Help to understant error tSybaseInput -&amp;gt; tMysqlOutput in Installing and Upgrading</title>
    <link>https://community.qlik.com/t5/Installing-and-Upgrading/Help-to-understant-error-tSybaseInput-gt-tMysqlOutput/m-p/2398295#M8904</link>
    <description>Hello,
&lt;BR /&gt;I have the same pb when I try to copy data from Oracle to Mysql with toracleInput and tmysqlOutput component.
&lt;BR /&gt;The message error is:
&lt;BR /&gt;"....Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
&lt;BR /&gt;....The method setString(int, String) in the type PreparedStatement is not applicable for the arguments (int, SimpleDateFormat)
&lt;BR /&gt; yyyy cannot be resolved ...."
&lt;BR /&gt;The java code witch generate this error is:
&lt;BR /&gt;if(row1.DATEMISEAJOURAP!=null){
&lt;BR /&gt; // timestamp &amp;lt; min java date value (year 1) || timestamp &amp;gt; max mysql
&lt;BR /&gt; // value (year 10000) =&amp;gt; set 0000-00-00 as date in MySQL
&lt;BR /&gt; date_tMysqlOutput_1 = row1.DATEMISEAJOURAP.getTime();
&lt;BR /&gt; if (date_tMysqlOutput_1 &amp;lt; year1_tMysqlOutput_1 || date_tMysqlOutput_1 &amp;gt;= year10000_tMysqlOutput_1) {
&lt;BR /&gt; pstmtUpdate_tMysqlOutput_1.setString(6, "0000-00-00 00:00:00");
&lt;BR /&gt; } else {
&lt;BR /&gt; pstmtUpdate_tMysqlOutput_1.setString(6, new java.text.SimpleDateFormat(yyyy-MM-dd HH:mm:ss).format(row1.DATEMISEAJOURAP));
&lt;BR /&gt; }
&lt;BR /&gt; }else{
&lt;BR /&gt; 
&lt;BR /&gt; pstmtUpdate_tMysqlOutput_1.setNull(6,java.sql.Types.DATE);
&lt;BR /&gt;
&lt;BR /&gt;thks,
&lt;BR /&gt;Best regards.</description>
    <pubDate>Wed, 18 Jul 2007 13:08:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-07-18T13:08:24Z</dc:date>
    <item>
      <title>Help to understant error tSybaseInput -&gt; tMysqlOutput</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Help-to-understant-error-tSybaseInput-gt-tMysqlOutput/m-p/2398289#M8898</link>
      <description>Environnement description
&lt;BR /&gt;TOS : 2.1.0.rc4515
&lt;BR /&gt;OS : Windows xp 
&lt;BR /&gt;Error message
&lt;BR /&gt;
&lt;BR /&gt;*************************************************************
&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
&lt;BR /&gt; The method setString(int, String) in the type PreparedStatement is not applicable for the arguments (int, SimpleDateFormat)
&lt;BR /&gt; yyyy cannot be resolved
&lt;BR /&gt; MM cannot be resolved
&lt;BR /&gt; Syntax error, insert ")" to complete ClassInstanceCreationExpression
&lt;BR /&gt; Syntax error, insert ")" to complete MethodInvocation
&lt;BR /&gt; Syntax error, insert ";" to complete BlockStatements
&lt;BR /&gt; dd cannot be resolved
&lt;BR /&gt; ss cannot be resolved
&lt;BR /&gt; Syntax error on token ")", delete this token
&lt;BR /&gt; Syntax error on token ")", delete this token
&lt;BR /&gt; The method setString(int, String) in the type PreparedStatement is not applicable for the arguments (int, SimpleDateFormat)
&lt;BR /&gt; yyyy cannot be resolved
&lt;BR /&gt; MM cannot be resolved
&lt;BR /&gt; Syntax error, insert ")" to complete ClassInstanceCreationExpression
&lt;BR /&gt; Syntax error, insert ")" to complete MethodInvocation
&lt;BR /&gt; Syntax error, insert ";" to complete BlockStatements
&lt;BR /&gt; dd cannot be resolved
&lt;BR /&gt; ss cannot be resolved
&lt;BR /&gt; Syntax error on token ")", delete this token
&lt;BR /&gt; Syntax error on token ")", delete this token
&lt;BR /&gt; at checkprocess.finprocess.FinProcess.tSybaseInput_1Process(FinProcess.java:499)
&lt;BR /&gt; at checkprocess.finprocess.FinProcess.main(FinProcess.java:704)
&lt;BR /&gt;Job FinProcess ended at 12:07 16/07/2007. 
&lt;BR /&gt;
&lt;BR /&gt;*****************************************************
&lt;BR /&gt;Issues Description
&lt;BR /&gt;I?m trying to import data from Sybase to Mysql
&lt;BR /&gt;There are not transformation in the job
&lt;BR /&gt;I?m using a tSybaseInput 
&lt;BR /&gt;It is look like I have a problem with the date format but I can not understand why 
&lt;BR /&gt;The date format is dd/mm/yyyy hh:mi:ss:mi
&lt;BR /&gt;
&lt;BR /&gt;I try to import data whiteout date and it?s work properly
&lt;BR /&gt; Thx 
&lt;BR /&gt;DN</description>
      <pubDate>Sat, 16 Nov 2024 14:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Help-to-understant-error-tSybaseInput-gt-tMysqlOutput/m-p/2398289#M8898</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Help to understant error tSybaseInput -&gt; tMysqlOutput</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Help-to-understant-error-tSybaseInput-gt-tMysqlOutput/m-p/2398290#M8899</link>
      <description>Maybe that you didn't have date pattern enclosed with quotation mark?</description>
      <pubDate>Mon, 16 Jul 2007 17:09:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Help-to-understant-error-tSybaseInput-gt-tMysqlOutput/m-p/2398290#M8899</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2007-07-16T17:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help to understant error tSybaseInput -&gt; tMysqlOutput</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Help-to-understant-error-tSybaseInput-gt-tMysqlOutput/m-p/2398291#M8900</link>
      <description>Sding&lt;BR /&gt;No,&lt;BR /&gt;Don't have a pattern declared.&lt;BR /&gt;DN</description>
      <pubDate>Tue, 17 Jul 2007 08:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Help-to-understant-error-tSybaseInput-gt-tMysqlOutput/m-p/2398291#M8900</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-17T08:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help to understant error tSybaseInput -&gt; tMysqlOutput</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Help-to-understant-error-tSybaseInput-gt-tMysqlOutput/m-p/2398292#M8901</link>
      <description>Where is your setString(int, String) method used? According to the error, you are using this method and sending it a int and a SimpleDateFormat which is not a string or a date but a object used to parse a date and give it a new format.&lt;BR /&gt;whereever you are using this method, you should make sure that the field or object you are sending it is a STRING.&lt;BR /&gt;Click on the "CODE" tab in talend and looks at the code section where the error is happening (a red sqare will be shown at the right of the code window).</description>
      <pubDate>Tue, 17 Jul 2007 13:58:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Help-to-understant-error-tSybaseInput-gt-tMysqlOutput/m-p/2398292#M8901</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-17T13:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help to understant error tSybaseInput -&gt; tMysqlOutput</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Help-to-understant-error-tSybaseInput-gt-tMysqlOutput/m-p/2398293#M8902</link>
      <description>sologlobe &lt;BR /&gt;Yhat exactely my problem&lt;BR /&gt;I'm not using routin or staff like that is all about Talend Code Generation&lt;BR /&gt;It's a simple job between to table &lt;BR /&gt;I think that my problem is about the Date format in the Sybase table (dd-mm-yyyy hh:mi:ss:ms) and the date format in the tMysqlOutput  is not manage this king of data type&lt;BR /&gt;DN</description>
      <pubDate>Tue, 17 Jul 2007 14:08:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Help-to-understant-error-tSybaseInput-gt-tMysqlOutput/m-p/2398293#M8902</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-17T14:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help to understant error tSybaseInput -&gt; tMysqlOutput</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Help-to-understant-error-tSybaseInput-gt-tMysqlOutput/m-p/2398294#M8903</link>
      <description>Well then, maybe you just found a bug or something, try to reproduce it the simplest way possible and add it to the bug tracker.</description>
      <pubDate>Tue, 17 Jul 2007 14:15:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Help-to-understant-error-tSybaseInput-gt-tMysqlOutput/m-p/2398294#M8903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-17T14:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help to understant error tSybaseInput -&gt; tMysqlOutput</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Help-to-understant-error-tSybaseInput-gt-tMysqlOutput/m-p/2398295#M8904</link>
      <description>Hello,
&lt;BR /&gt;I have the same pb when I try to copy data from Oracle to Mysql with toracleInput and tmysqlOutput component.
&lt;BR /&gt;The message error is:
&lt;BR /&gt;"....Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
&lt;BR /&gt;....The method setString(int, String) in the type PreparedStatement is not applicable for the arguments (int, SimpleDateFormat)
&lt;BR /&gt; yyyy cannot be resolved ...."
&lt;BR /&gt;The java code witch generate this error is:
&lt;BR /&gt;if(row1.DATEMISEAJOURAP!=null){
&lt;BR /&gt; // timestamp &amp;lt; min java date value (year 1) || timestamp &amp;gt; max mysql
&lt;BR /&gt; // value (year 10000) =&amp;gt; set 0000-00-00 as date in MySQL
&lt;BR /&gt; date_tMysqlOutput_1 = row1.DATEMISEAJOURAP.getTime();
&lt;BR /&gt; if (date_tMysqlOutput_1 &amp;lt; year1_tMysqlOutput_1 || date_tMysqlOutput_1 &amp;gt;= year10000_tMysqlOutput_1) {
&lt;BR /&gt; pstmtUpdate_tMysqlOutput_1.setString(6, "0000-00-00 00:00:00");
&lt;BR /&gt; } else {
&lt;BR /&gt; pstmtUpdate_tMysqlOutput_1.setString(6, new java.text.SimpleDateFormat(yyyy-MM-dd HH:mm:ss).format(row1.DATEMISEAJOURAP));
&lt;BR /&gt; }
&lt;BR /&gt; }else{
&lt;BR /&gt; 
&lt;BR /&gt; pstmtUpdate_tMysqlOutput_1.setNull(6,java.sql.Types.DATE);
&lt;BR /&gt;
&lt;BR /&gt;thks,
&lt;BR /&gt;Best regards.</description>
      <pubDate>Wed, 18 Jul 2007 13:08:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Help-to-understant-error-tSybaseInput-gt-tMysqlOutput/m-p/2398295#M8904</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-18T13:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help to understant error tSybaseInput -&gt; tMysqlOutput</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Help-to-understant-error-tSybaseInput-gt-tMysqlOutput/m-p/2398296#M8905</link>
      <description>Driss
&lt;BR /&gt;I think the probleme is about the date format in mysql.
&lt;BR /&gt;We probably should convert date in the input to yyyy-dd-mm and if it equal to 0000-00-00 change it to 9999-01-01
&lt;BR /&gt;DN</description>
      <pubDate>Wed, 18 Jul 2007 13:11:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Help-to-understant-error-tSybaseInput-gt-tMysqlOutput/m-p/2398296#M8905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-18T13:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help to understant error tSybaseInput -&gt; tMysqlOutput</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Help-to-understant-error-tSybaseInput-gt-tMysqlOutput/m-p/2398297#M8906</link>
      <description>I am migrating data from one mysql db server to the other. I am sending it from tMysqlInput_1 to tMysqlInput_3. There are no other components in the job... The query is of select from source table to destination table. The respective table is not present on the destination database. So I have set action on table as create table if not exists, and action on data as insert. But error comes after running the job as &lt;BR /&gt;tMysqlOutput_3 cannot be resolved to a variable&lt;BR /&gt;the detailed error is&lt;BR /&gt;Error in the component's properties:batchSizeCounter_tMysqlOutput_3 cannot be resolved to a variable&lt;BR /&gt;batchSize_tMysqlOutput_3 cannot be resolved to a variable&lt;BR /&gt;batchSizeCounter_tMysqlOutput_3 cannot be resolved to a variable&lt;BR /&gt;pstmt_tMysqlOutput_3 cannot be resolved&lt;BR /&gt;batchSizeCounter_tMysqlOutput_3 cannot be resolved to a variable&lt;BR /&gt;pstmt_tMysqlOutput_3 cannot be resolved&lt;BR /&gt;batchSizeCounter_tMysqlOutput_3 cannot be resolved to a variable&lt;BR /&gt;pstmt_tMysqlOutput_3 cannot be resolved&lt;BR /&gt;batchSizeCounter_tMysqlOutput_3 cannot be resolved to a variable&lt;BR /&gt;pstmt_tMysqlOutput_3 cannot be resolved to a variable&lt;BR /&gt;pstmt_tMysqlOutput_3 cannot be resolved&lt;BR /&gt;pstmt_tMysqlOutput_3 cannot be resolved to a variable&lt;BR /&gt;pstmt_tMysqlOutput_3 cannot be resolved&lt;BR /&gt;pstmt_tMysqlOutput_3 cannot be resolved&lt;BR /&gt;&lt;BR /&gt;Please guide me friends...&lt;BR /&gt;Also I am unable to run ETL of another job on linux machine through cron command. &lt;BR /&gt;The code in the runnable .sh file is  -&lt;BR /&gt;cd `dirname $0`&lt;BR /&gt; ROOT_PATH=`/root/t_followup_0.1.zip_FILES`&lt;BR /&gt; java -Xms256M -Xmx1024M -cp $ROOT_PATH/../lib/mysql-connector-java-5.1.22-bin.jar:$ROOT_PATH/../lib/dom4j-1.6.1.jar:$ROOT_PATH:$ROOT_PATH/../lib/systemRoutines.jar::$ROOT_PATH/../lib/userRoutines.jar::.:$ROOT_PATH/t_followup_0_1.jar: myproject.t_followup_0_1.t_followup --context=Default "$@"&lt;BR /&gt;The file is getting executed as per the schedule but the ETL is not happening...&lt;BR /&gt;The respective files are present in the respective directories as per the code.. Can any one tell me what is to be changed in the code in order to run the ETL... Is there anything to be changed in -&amp;gt; cd `dirname $0`</description>
      <pubDate>Fri, 14 Mar 2014 13:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Help-to-understant-error-tSybaseInput-gt-tMysqlOutput/m-p/2398297#M8906</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-14T13:24:13Z</dc:date>
    </item>
  </channel>
</rss>

