Week Diff in Hibernate
I'm using Hibernate/Mysql
I'm applying filter on weeks e.g I could see last weeks' records.
But when there are records of the same month it displays them correct but when there is a month difference (I want to see records of 03/11/2006 to 29/10/2006 then filter is not applying correctly)
The filter applied is given below:
myClassName.start_Date>=current_date-7 and myClassName.start_Date<=current_date