[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

Hibernate - fetch from more than one table

Asked by radhnki in Jakarta Struts, WebApplications

Hi,
   I have a table and 2 of its column are the reference to another 2 tables (foreign key-primary key relation). in hibernate, i know i can use many to one relation ship to fetch the value. But is it possible to use more than one many-to-one mapping for a  same class?
i am using struts2 hibernate3 and mysql.

-Rk
[+][-]11/02/09 12:27 AM, ID: 25717750Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/05/09 10:31 PM, ID: 25757011Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625