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