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/11/13 03:35:28 UTC

[GitHub] [incubator-shardingsphere] junwangit commented on issue #3503: dataencrypt feature with “java.sql.SQLDataException: Cannot determine value type from string 'NO'”

junwangit commented on issue #3503: dataencrypt feature with “java.sql.SQLDataException: Cannot determine value type from string 'NO'”
URL: https://github.com/apache/incubator-shardingsphere/issues/3503#issuecomment-553223924
 
 
   > The reason may be in EncryptRuntimeContext.getColumnMetaDataList() line 95
   > 
   > ```
   > boolean isAutoIncrement = resultSet.getBoolean(IS_AUTOINCREMENT);
   > ```
   > 
   > From the exception, mysql may return the result 'NO', but we use getBoolean in there, so it can't be translate to boolean.
   
   This problem is caused by MySQL Connector/J 8.0 + and the 5.1.x version is normal.

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