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/09/27 03:34:53 UTC

[GitHub] [incubator-shardingsphere] SAMARITAN2046 opened a new issue #3131: Encrypt data with assisted-query-column happens exception

SAMARITAN2046 opened a new issue #3131: Encrypt data with assisted-query-column happens exception
URL: https://github.com/apache/incubator-shardingsphere/issues/3131
 
 
   ## Bug Report
   
   
   ### ShardingSphere  version is 4.0.0-RC3-SNAPSHOT
   
   ### Sharding-encrypt
   
   ### insert  the data what I wanted
   
   ### I encrypt my data when I insert he data with assisted-query-column,it happens exception
   
   ### Caused by: java.sql.SQLException: Column count doesn't match value count at row 1
   	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:959)
   	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3870)
   	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3806)
   	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2470)
   	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2617)
   	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2550)
   	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861)
   	at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1192)
   	at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
   	at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
   	at org.apache.shardingsphere.shardingjdbc.jdbc.core.statement.EncryptPreparedStatement.execute(EncryptPreparedStatement.java:125)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   
   ### when the action is insert,it happen exception
   
   

----------------------------------------------------------------
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