-->
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: many-to-many with attribute
PostPosted: Sat Nov 04, 2006 1:16 pm 
Newbie

Joined: Sat Nov 04, 2006 12:45 pm
Posts: 1
Hi everybody

I have seen and read a lot about many-to-many realations in hibernate.
But I will realice a special kind of many-to-many mapping.

Table 1:
Parent

P_id
P_Name
P_Firstname

Table 2:
Cild

C_id
C_Name
C_Firstname


Table 3:
ParentCild

id
P_perentID
C_CildID
TimeStamp

As you can see there are more than the normal attribuse in the 3th table, but it is an normal many-to-many mapping only with this property more.

Pleace ask question if anything is unclear!
Pleace post simple link to this topic (but not the normal M:N relation fings)


Thanks for your help

kind regards

maramund

Hibernate version:3.1
[/b]


Huhu I have found the answer!

http://www.hibernate.org/hib_docs/v3/re ... ollections


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.