wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes query to get data from two tables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "query to get data from two tables" Watch "query to get data from two tables" New topic
Author

query to get data from two tables

sai kinnera
Ranch Hand

Joined: Aug 12, 2004
Posts: 52
Hi,
Anybody tried to get data from two tables into one java persistence class using a single query, like we do using joins with SQL. I need this urgently in my present work. Any help is very much appreciated.
Thanks,
Sai
sai kinnera
Ranch Hand

Joined: Aug 12, 2004
Posts: 52
Hi,
My below query relates to Hibernate. Thanks,
Sai
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: query to get data from two tables
 
Similar Threads
jComboBox Renderer from two different entities (database tables)
best way of querying?
HQL doubt.
possible to insert data into two tables from one sql?
using join query in hibernate