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:13:33 UTC

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

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