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 Hibernate query question 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 "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
 
Similar Threads
how to improve performance
database
SQL error
how to write select query when where condition contains ampersand symbol(&)?
how to find out 3rd max salary from an emp table?