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

    Hsql to compare date only?

    Dan Liu Apprentice

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

      But it doesn't work.