This content has been marked as final.
Show 5 replies
-
1. Re: EJB-QL Aggregate functions 3.2.4
aloubyansky Jun 29, 2004 5:11 AM (in response to mozheyko_d)How would you describe what you are doing?
It's obviously a misuse. Aggregate functions are allowed only in ejbSelect's and they never return EJB[Local]Object's. -
2. Re: EJB-QL Aggregate functions 3.2.4
mozheyko_d Jun 29, 2004 5:18 AM (in response to mozheyko_d)Yes, i know it.
But this code works !
Maybe you explain me how2 use SUM or another aggregate functions ?
Please, show me the little properly sample. -
3. Re: EJB-QL Aggregate functions 3.2.4
aloubyansky Jun 29, 2004 5:28 AM (in response to mozheyko_d)There is some info in the EJB2.1 spec.
11.2.7.2 Aggregate Functions in the SELECT Clause -
4. Re: EJB-QL Aggregate functions 3.2.4
mozheyko_d Jun 29, 2004 5:34 AM (in response to mozheyko_d)Thank you, Alex.
But i dont understand: 3.2.4 support EJB2.1 ? or 2.0 ? -
5. Re: EJB-QL Aggregate functions 3.2.4
aloubyansky Jun 29, 2004 5:58 AM (in response to mozheyko_d)No, 2.0. Just the QL syntax was extended to support 2.1.