<?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: JavaRow to MySQLOutput &amp;quot;newColumn&amp;quot; error? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/JavaRow-to-MySQLOutput-quot-newColumn-quot-error/m-p/2243328#M29870</link>
    <description>Hi 
&lt;BR /&gt;In your schema of tMysqlOutput component, there is a 'Db Column' field, you should set the column name as the same column which you define in your database.
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
    <pubDate>Thu, 15 Nov 2007 02:02:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-11-15T02:02:25Z</dc:date>
    <item>
      <title>JavaRow to MySQLOutput "newColumn" error?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JavaRow-to-MySQLOutput-quot-newColumn-quot-error/m-p/2243327#M29869</link>
      <description>I am trying to load a file into a MySQL DB. I succesfully load the file and use a tJavaRow module to parse and enhance the data. The output of this function looks good when I use tLogRow to show me the output. I then replace the tLogRow with a tMySqlOutput, sync up the column names (I made sure the names are identical to the DB column names) and hit run. I then get 
&lt;BR /&gt;Exception in component tMysqlOutput_1 
&lt;BR /&gt;com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'newColumn' in 'field list' 
&lt;BR /&gt; at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
&lt;BR /&gt; at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 
&lt;BR /&gt; at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 
&lt;BR /&gt; at java.lang.reflect.Constructor.newInstance(Unknown Source) 
&lt;BR /&gt; at com.mysql.jdbc.Util.handleNewInstance(Util.java:353) 
&lt;BR /&gt; at com.mysql.jdbc.Util.getInstance(Util.java:336) 
&lt;BR /&gt; at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1031) 
&lt;BR /&gt; at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:957) 
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2938) 
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1601) 
&lt;BR /&gt; at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1710) 
&lt;BR /&gt; at com.mysql.jdbc.Connection.execSQL(Connection.java:2436) 
&lt;BR /&gt; at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1402) 
&lt;BR /&gt; at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1694) 
&lt;BR /&gt; at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1608) 
&lt;BR /&gt; at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1593) 
&lt;BR /&gt; at control_1.z_development.Z_Development.tFileList_1Process(Z_Development.java:1525) 
&lt;BR /&gt; at control_1.z_development.Z_Development.runJob(Z_Development.java:1707) 
&lt;BR /&gt; at control_1.z_development.Z_Development.main(Z_Development.java:1651) 
&lt;BR /&gt;Job Z_Development ended at 11:22 15/11/2007. 
&lt;BR /&gt;Looking at the code I found a line that looks like this 
&lt;BR /&gt; pstmt_tMysqlOutput_1 = conn_tMysqlOutput_1 
&lt;BR /&gt; .prepareStatement("INSERT INTO `" 
&lt;BR /&gt; + "sdf_acrm_log" 
&lt;BR /&gt; + "` (`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn`,`newColumn1`,`newColumn2`,`newColumn3`,`newColumn4`,`newColumn`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)"); 
&lt;BR /&gt; 
&lt;BR /&gt;Why is this so?</description>
      <pubDate>Sat, 16 Nov 2024 14:30:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JavaRow-to-MySQLOutput-quot-newColumn-quot-error/m-p/2243327#M29869</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: JavaRow to MySQLOutput "newColumn" error?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JavaRow-to-MySQLOutput-quot-newColumn-quot-error/m-p/2243328#M29870</link>
      <description>Hi 
&lt;BR /&gt;In your schema of tMysqlOutput component, there is a 'Db Column' field, you should set the column name as the same column which you define in your database.
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
      <pubDate>Thu, 15 Nov 2007 02:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JavaRow-to-MySQLOutput-quot-newColumn-quot-error/m-p/2243328#M29870</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-11-15T02:02:25Z</dc:date>
    </item>
  </channel>
</rss>

