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 2020/10/30 08:01:11 UTC

[GitHub] [shardingsphere] kimmking commented on issue #7960: shardingsphere-proxy report java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date

kimmking commented on issue #7960:
URL: https://github.com/apache/shardingsphere/issues/7960#issuecomment-719382309


   sharding-proxy/jdbc get values from sql, and there is only string in sql statement.
   For example, " select * from order where created_time>'2020-10-30' ", and sharding key's value will be 2020-10-30.
   
   Only in orm(mybatis), it hold the object with an accurate type. but sql is just a string.
   


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