This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes how to create subquery with createquery? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "how to create subquery with createquery?" Watch "how to create subquery with createquery?" New topic
Author

how to create subquery with createquery?

sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 208
Hi can anyone tell me how to create the following query wtih createyquery?




It doesn't like the syntax "(" in the query.
Any suggestion is very appreciated.
Sam
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to create subquery with createquery?
 
Similar Threads
Unable to locate appropriate constructor
unexpected token: group
Need a query (will subquery and count work?)
Can't map to target entity property
unexpected token: group