aspose file tools*
The moose likes Object Relational Mapping and the fly likes Hibernate query question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate query question" Watch "Hibernate query question" New topic
Author

Hibernate query question

Payam Fard
Ranch Hand

Joined: Jan 31, 2003
Posts: 73
Hi all,

How can I do the following query using hibernate's query by criteria or query by example?

select * from x where x.y in (select t.y from t where t.id=3)

Any help would be appreciated.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate query question