Hello I am using hibernate in my example.For bean Table Audit Trial I want to fetch audit trial between a date range with inclusion of upper & lower limits. My code is l
criteria.add(Restrictions.ge("fromDate", DateUtil.persianToGregorian(currentDate))); criteria.add(Restrictions.le("toDate", DateUtil.persianToGregorian(currentDate))); return criteria.list();