A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Object Relational Mapping
[Hibernate criteria api] is it possible to fetch data from two tables?
Joined: Sep 12, 2008
May 24, 2011 08:58:04
Joined: Jul 15, 2009
May 24, 2011 09:13:18
You can use Associations and Projections to achieve this, see:
I love this place!
I agree. Here's the link:
subject: [Hibernate criteria api] is it possible to fetch data from two tables?
Hibernate Performance for CRITERIA / SELECT Queries..
Fetching data from a table without having primary key
hibernate & large sets of data..
Using Joins in Hibernate Criteria
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015