0 Replies Latest reply on Jun 7, 2006 12:40 PM by Dan Liu

    Does Ejb3/Hql support date comparison?

    Dan Liu Apprentice

      Compare date only, but not time. I've tried

      Date date=new Date();
      em.createQuery("from Person p where p.registeredDate=:date").setParameter("date",date,TemporalType.DATE);
      


      But this doesn't work. I've tried so many ways but still can't get it work. Does Ejb3 support date(but not time) comparison?