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/06/17 14:16:40 UTC

[GitHub] [shardingsphere] tuohai666 commented on issue #5727: The int(or bigint) value is null, but jpa with shardingsphere-jdbc returns zero.

tuohai666 commented on issue #5727:
URL: https://github.com/apache/shardingsphere/issues/5727#issuecomment-645401445


   Closed because of no response anymore.
   
   Actually, I don't think your description makes sense.
   
   Of course, Null and 0 have diffenent meanings in database. But they have same meaning out of database. If you got a Null from JDBC, it is 0, vice versa. In other words, if you treat the result as a int , it is 0, while you treat it as an object, it is Null, it depends on you.
   
   Besides, Iet's make sure we get the consensus on Null is not 'Null'.


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