You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/06/19 08:52:46 UTC

[GitHub] [incubator-shardingsphere] wangjing112 commented on issue #2584: the @Transient column Initiation insert Error on v4.0.0-RC1

wangjing112 commented on issue #2584: the @Transient column Initiation insert Error on v4.0.0-RC1
URL: https://github.com/apache/incubator-shardingsphere/issues/2584#issuecomment-503470200
 
 
   ```
   
   Caused by: java.sql.BatchUpdateException: Unknown column 'id' in 'field list'
   	at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2056)
   	at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1467)
   	at org.apache.commons.dbcp2.DelegatingStatement.executeBatch(DelegatingStatement.java:223)
   	at org.apache.commons.dbcp2.DelegatingStatement.executeBatch(DelegatingStatement.java:223)
   	at org.apache.shardingsphere.shardingjdbc.executor.BatchPreparedStatementExecutor$4.executeSQL(BatchPreparedStatementExecutor.java:168)
   	at org.apache.shardingsphere.shardingjdbc.executor.BatchPreparedStatementExecutor$4.executeSQL(BatchPreparedStatementExecutor.java:164)
   	at org.apache.shardingsphere.core.execute.sql.execute.SQLExecuteCallback.execute0(SQLExecuteCallback.java:69)
   	at org.apache.shardingsphere.core.execute.sql.execute.SQLExecuteCallback.execute(SQLExecuteCallback.java:58)
   	at org.apache.shardingsphere.core.execute.ShardingExecuteEngine.syncGroupExecute(ShardingExecuteEngine.java:126)
   	at org.apache.shardingsphere.core.execute.ShardingExecuteEngine.serialExecute(ShardingExecuteEngine.java:91)
   	at org.apache.shardingsphere.core.execute.ShardingExecuteEngine.groupExecute(ShardingExecuteEngine.java:83)
   	at org.apache.shardingsphere.core.execute.sql.execute.SQLExecuteTemplate.executeGroup(SQLExecuteTemplate.java:73)
   	at org.apache.shardingsphere.core.execute.sql.execute.SQLExecuteTemplate.executeGroup(SQLExecuteTemplate.java:56)
   	at org.apache.shardingsphere.shardingjdbc.executor.AbstractStatementExecutor.executeCallback(AbstractStatementExecutor.java:128)
   	at org.apache.shardingsphere.shardingjdbc.executor.BatchPreparedStatementExecutor.executeBatch(BatchPreparedStatementExecutor.java:171)
   	at org.apache.shardingsphere.shardingjdbc.jdbc.core.statement.ShardingPreparedStatement.executeBatch(ShardingPreparedStatement.java:231)
   	at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
   	at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
   	... 18 common frames omitted
   Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'id' in 'field list'
   	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
   	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
   	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
   	at com.mysql.jdbc.Util.getInstance(Util.java:386)
   	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
   	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4190)
   	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4122)
   	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
   	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
   	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2818)
   	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2157)
   	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2460)
   	at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2008)
   	... 35 common frames omitted
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services