• Post Reply Bookmark Topic Watch Topic
  • New Topic

Date object comparision in hibernate with calender object

 
Ritesh Pareek
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

please help in the following issue

hibernate query is...



And here is getDateLimitsFromMonth function




Problem : Lower limit and upper limits are not working fine at boundary limits values e.g. let suppose i need to calculate data for november month, it is not considering 1-NOV-2009 and 30-NOV-2009(summing up from 2nd to 29th, not for 1st and 30th).


Thanks

 
The glass is neither half full or half empty. It is too big. But this tiny ad is just right:
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!