In my Data base dates are as 2012-04-09 04:02:53 2012-04-09 04:04:51 2012-04-08 04:04:51, etc, I need to retrieve data which have curr
2012-04-09 04:02:53
2012-04-09 04:04:51
2012-04-08 04:04:51
Restrictions.between("dateColumn", midnight1, midnight2)
// datetime comparison Hibernate 4.3
Select c from Customer c where c.date<{d '2000-01-01'}