Saisimon commented on a change in pull request #2669: fix 'Unsupported data 
type:boolean' ShardingException
URL: 
https://github.com/apache/incubator-shardingsphere/pull/2669#discussion_r301013975
 
 

 ##########
 File path: 
sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/core/resultset/ResultSetUtil.java
 ##########
 @@ -85,6 +85,8 @@ private static Object convertNullValue(final Class<?> 
convertType) {
     private static Object convertNumberValue(final Object value, final 
Class<?> convertType) {
         Number number = (Number) value;
         switch (convertType.getName()) {
+               case "boolean":
 
 Review comment:
   Yes, this PR should not refer to #2604, but I think Case 2 is another issue 
like #2654 and It can be solved first. What do you think?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to