| To: | <users@xxxxxxxxxx> |
|---|---|
| Subject: | RE: [cinjug-users] Hibernate mapping extra data in link tables |
| From: | "Forsythe, Brian" <Brian.Forsythe@xxxxxxxxxxxxxxxxxxxxxxxx> |
| Date: | Tue, 7 Nov 2006 11:11:01 -0500 |
| Delivered-to: | mailing list users@cinjug.org |
| Mailing-list: | contact users-help@cinjug.org; run by ezmlm |
| References: | <f73bb58e1e300.454f67c2@insightbb.com> |
| Thread-index: | AccB7gvVdIhcBJx0TWWcR2I4osVICQAmUX7d |
| Thread-topic: | [cinjug-users] Hibernate mapping extra data in link tables |
What are you expecting the resultant object model to look like? The most straightforward solution sounds like you'd have three classes: A, B, and ABRelationship. ________________________________ From: twcrone@xxxxxxxxxxxxx [mailto:twcrone@xxxxxxxxxxxxx] Sent: Mon 11/6/2006 4:50 PM To: users@xxxxxxxxxx Subject: [cinjug-users] Hibernate mapping extra data in link tables I know I have seen this somewhere but I can't find it... I need to have a link table that not only specifies a relationship but some information specific to that relationship that is not specific to either entity in the relationship. So I have a link table that I need to have more data other than simply the IDs of the two entities that are related. I think there is a way to add a object that will specify the extra data in the link but I can't remember the example I saw on this. Anyone done this before? - Todd |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Hibernate mapping extra data in link tables, twcrone |
|---|---|
| Next by Date: | Re: [cinjug-users] Hibernate mapping extra data in link tables, Trey Howard |
| Previous by Thread: | Hibernate mapping extra data in link tables, twcrone |
| Next by Thread: | Re: [cinjug-users] Hibernate mapping extra data in link tables, Trey Howard |
| Indexes: | [Date] [Thread] [Top] [All Lists] |