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 2022/12/29 05:04:44 UTC

[GitHub] [shardingsphere] TeslaCN commented on issue #23122: MySQL Proxy E2E test scenario passthrough failed when using mysql-connector-java 8.0.31

TeslaCN commented on issue #23122:
URL: https://github.com/apache/shardingsphere/issues/23122#issuecomment-1367074565

   I found that if we connect ShardingSphere-Proxy by MySQL JDBC 5.1.47:
   ```
   preparedStatement.setByte(5, (byte) -128); // Out of range value for column 'col_tinyint' at row 1
   preparedStatement.setObject(5, (byte) -128); // This worked
   ```
   
   But if we connect ShardingSphere-Proxy by MySQL JDBC 8.0.x:
   Both of them didn't worked.
   ```
   preparedStatement.setByte(5, (byte) -128); // Out of range value for column 'col_tinyint' at row 1
   preparedStatement.setObject(5, (byte) -128); // Out of range value for column 'col_tinyint' at row 1
   ```
   


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org