A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB Certification (SCBCD/OCPJBCD)
JPQL Query Dout
Joined: Jun 28, 2007
Jan 25, 2009 22:40:07
select u from User u where size = 2
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
Joined: Nov 24, 2005
Jan 25, 2009 22:51:01
You need to pass a collection as an argument to the SIZE function.
All roads lead to JavaRanch
rocket mass heater
subject: JPQL Query Dout
Difference Between count() and size
Misunderstood Enthuware Questions
Group by desc in jpql
Join Fetch using EclipseLink
JPA - need help with query
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013