*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes JPQL Query Dout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "JPQL Query Dout" Watch "JPQL Query Dout" New topic
Author

JPQL Query Dout

Sudarshan Sreenivasan
Ranch Hand

Joined: Jun 28, 2007
Posts: 188




Is the above a valid JPQL query ?? especially in terms of the use of size function ?

I do not think so , just wanted a confirmation
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

You need to pass a collection as an argument to the SIZE function.


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JPQL Query Dout
 
Similar Threads
Group by desc in jpql
Misunderstood Enthuware Questions
JPA - need help with query
Difference Between count() and size
Join Fetch using EclipseLink