wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes inner query in hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "inner query in hibernate" Watch "inner query in hibernate" New topic

inner query in hibernate

pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 300
Hi List[],
I have below query.How can i write the query using HQL or Criteria .Please tell me.

Thanks & Regards
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

What was your attempt? And who is List[]?

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 300

i tried using HQL like this

But its did not working and throwing exception.

SO is any other way in hibernate to run this sql using HQL or Criteria.

By the way List[] mean the people of java ranch ........
I agree. Here's the link: http://aspose.com/file-tools
subject: inner query in hibernate