Saisimon commented on issue #2604: The query entity throws an exception when a 
boolean property exists in the entity
URL: 
https://github.com/apache/incubator-shardingsphere/issues/2604#issuecomment-507971772
 
 
   > Convert BIT to Boolean is abuse, BIT is for binary value, not boolean 
value. I suggest that you change the column type from BIT to TINYINT.
   
   change to TINYINT(1) also throws java.lang.ClassCastException: [B cannot be 
cast to java.lang.Boolean
   change to TINYINT(2) throws 
org.apache.shardingsphere.core.exception.ShardingException: Unsupported data 
type: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:
[email protected]


With regards,
Apache Git Services

Reply via email to