2 Replies Latest reply on Apr 6, 2005 11:08 AM by epbernard

    Seeing Double - Possible Hibernate Bug

    mduffy_lists

      I am running EJB 3.0 Preview 4 using MySQL. For a very simple query (no joins), I am seeing double the expected results (the result set is repeated).

      Has anyone else seen this problem?


      private static final String RETRIEVE_BY_DATE
      = "FROM IssueDisplayItem i "
      + "WHERE i.created > :created ";

      return (List) manager.createQuery(RETRIEVE_BY_DATE).setParameter("created", timestamp).getResultList();

      Thx.

      Mike