• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate dont return record when count = 0

 
Ivan Krasic
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

i have 2 class doing jointure however i noticed when the count of record = 0 , normal like in mysql should return 0 with the record appropriate , instead doesnt return anything

is there any property to add to solve that ?

 
Ivan Krasic
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok problem resolved

switched over criteria api to solve that

Regards
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!