0 Replies Latest reply on May 11, 2003 2:22 PM by Rafal Kedziorski

    count entries

    Rafal Kedziorski Novice

      Hi,

      EJB QL 2.1 defines COUNT() as aggregate function. currenty I have two ways to get the count:

      - SQL statement (fast)
      - findAllByXXX, than iterator with counter on my Collectio (slow)

      is there other possibility? I'm working with JBoss 3.2.1.


      Regards,
      Rafal