Two Laptop Bag
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
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "JPQL Query Dout" Watch "JPQL Query Dout" New topic

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é

Joined: Nov 24, 2005
Posts: 14688

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:
subject: JPQL Query Dout
It's not a secret anymore!