• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JPQL Query Dout

 
Sudarshan Sreenivasan
Ranch Hand
Posts: 188
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to pass a collection as an argument to the SIZE function.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic