This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Consider Paul's rocket mass heater.
 
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