File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Hibernate query question

Payam Fard
Ranch Hand

Joined: Jan 31, 2003
Posts: 75
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

Any help would be appreciated.
I agree. Here's the link:
subject: Hibernate query question
It's not a secret anymore!