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 2021/01/12 08:48:12 UTC

[GitHub] [shardingsphere] Han-Tang opened a new issue #8995: jpa+proxy Data not found

Han-Tang opened a new issue #8995:
URL: https://github.com/apache/shardingsphere/issues/8995


   i have a project.used sharding proxy.
   ![图片](https://user-images.githubusercontent.com/33918398/104290344-33571d80-54f5-11eb-93aa-55b7268d4942.png)
   ![图片](https://user-images.githubusercontent.com/33918398/104290365-3a7e2b80-54f5-11eb-99bd-1daebab03116.png)
   hibernate  sql:
   ![图片](https://user-images.githubusercontent.com/33918398/104290585-7dd89a00-54f5-11eb-93aa-d4ae9aee5f9f.png)
   proxy sql:
   ![图片](https://user-images.githubusercontent.com/33918398/104290929-e6c01200-54f5-11eb-8798-3281976dc145.png)
   


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



[GitHub] [shardingsphere] Han-Tang commented on issue #8995: jpa+proxy Data not found HELP!!!!!!

Posted by GitBox <gi...@apache.org>.
Han-Tang commented on issue #8995:
URL: https://github.com/apache/shardingsphere/issues/8995#issuecomment-759864427


   yes, the sql is correct. in my project,hibernate count() can get return ,but select  sql no result return
   


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



[GitHub] [shardingsphere] Han-Tang removed a comment on issue #8995: jpa+proxy Data not found HELP!!!!!!

Posted by GitBox <gi...@apache.org>.
Han-Tang removed a comment on issue #8995:
URL: https://github.com/apache/shardingsphere/issues/8995#issuecomment-759863422


   yes.the sql is correct 


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



[GitHub] [shardingsphere] Han-Tang commented on issue #8995: jpa+proxy Data not found HELP!!!!!!

Posted by GitBox <gi...@apache.org>.
Han-Tang commented on issue #8995:
URL: https://github.com/apache/shardingsphere/issues/8995#issuecomment-760019459


   thanks!i know reason now. Error in field type.entity field type is "LocalDate" in my ,but mysql field  type is "date'.
   then i change "date" to "datetime" ,is ok.


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



[GitHub] [shardingsphere] tristaZero commented on issue #8995: jpa+proxy Data not found HELP!!!!!!

Posted by GitBox <gi...@apache.org>.
tristaZero commented on issue #8995:
URL: https://github.com/apache/shardingsphere/issues/8995#issuecomment-759171465


   Hi, 
   
   What you mentioned is that to-execute SQLs are correct, but no result return, right?


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



[GitHub] [shardingsphere] tristaZero commented on issue #8995: jpa+proxy Data not found HELP!!!!!!

Posted by GitBox <gi...@apache.org>.
tristaZero commented on issue #8995:
URL: https://github.com/apache/shardingsphere/issues/8995#issuecomment-759958203


   `SELECT count(*)` returns `0` ? How about `SELECT * FROM`? Is there any rows coming back?


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



[GitHub] [shardingsphere] tristaZero closed issue #8995: jpa+proxy Data not found HELP!!!!!!

Posted by GitBox <gi...@apache.org>.
tristaZero closed issue #8995:
URL: https://github.com/apache/shardingsphere/issues/8995


   


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



[GitHub] [shardingsphere] Han-Tang commented on issue #8995: jpa+proxy Data not found HELP!!!!!!

Posted by GitBox <gi...@apache.org>.
Han-Tang commented on issue #8995:
URL: https://github.com/apache/shardingsphere/issues/8995#issuecomment-759863422


   yes.the sql is correct 


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