These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Mapping 3 tables in hiberante
PostPosted: Thu Aug 02, 2007 6:23 am 
Newbie

Joined: Thu Aug 02, 2007 6:15 am
Posts: 1
Hello,

I have Person table having person_id,name.
Event table having event_id,name.
Order table having order_id,name.

I have a table Per_Eve table having person_id,event_id.

This works fine using bi-directional association

The problem is when i want the below scenarion

I have a table Per_Eve_Ord table which has person_id,event_id,order_id.

How do i associate these table using hibernate mapping?

Any help is appreciated


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.