1 Reply Latest reply on Jun 7, 2006 4:39 AM by liudan2005

    Hsql to compare date only?

    liudan2005

      I've tried:
      em.createQuery("from A a where a.birthday=:date").setParameter("date",new Date(),Temporal.DATE);

      But it doesn't work.