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/12/09 12:13:52 UTC

[GitHub] [incubator-shardingsphere] jimmyxu1214 opened a new issue #3698: 使用mysql-connector-java 8.0版本的时候driver-class-name: com.mysql.cj.jdbc.Driver报错

jimmyxu1214 opened a new issue #3698: 使用mysql-connector-java 8.0版本的时候driver-class-name: com.mysql.cj.jdbc.Driver报错
URL: https://github.com/apache/incubator-shardingsphere/issues/3698
 
 
    错误信息:
   Caused by: java.sql.SQLDataException: Cannot determine value type from string 'NO'
   	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:114)
   	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
   	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)
   	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63)
   	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:73)
   	at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:96)
   	at com.mysql.cj.jdbc.result.ResultSetImpl.getBoolean(ResultSetImpl.java:678)
   	at com.mysql.cj.jdbc.result.ResultSetImpl.getBoolean(ResultSetImpl.java:683)
   
   
   错误代码:
   ![image](https://user-images.githubusercontent.com/580409/70434834-4280c600-1ac0-11ea-8bbc-e0938adb771b.png)
   org.apache.shardingsphere.core.execute.metadata.TableMetaDataLoader 类169行
   boolean isAutoIncrement = resultSet.getBoolean(IS_AUTOINCREMENT);
   

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