This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes group by clause query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "group by clause query" Watch "group by clause query" New topic
Author

group by clause query

Sudarshan Sreenivasan
Ranch Hand

Joined: Jun 28, 2007
Posts: 188

The page 216 of Apress - Pro EJB 3 - Java Persistence API
states
The GROUP BY clause defines the grouping expressions over which the results will be aggregated.
A grouping expression must either be a single-valued path expression (state field or
single-valued association field) or an identification variable. If an identification variable is
used, the entity must not have any serialized state or large object fields.



I do not quite get what "serialized state" implies in this context ??

Does it mean that an entity cannot contain properties that implement the Serializable interface ??

Thanks
Sudarshan.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: group by clause query
 
Similar Threads
spec 11.2.7.11 EJB-QL
Qtn Reg EJBQL in HFEJB.
Allowed ORDER BY fields question
HF EJB question 17 on page 430
Difference Between count() and size