users
[Top] [All Lists]

Hibernate mapping extra data in link tables

To: users@xxxxxxxxxx
Subject: Hibernate mapping extra data in link tables
From: <twcrone@xxxxxxxxxxxxx>
Date: Mon, 06 Nov 2006 16:50:10 -0500
Delivered-to: mailing list users@cinjug.org
Mailing-list: contact users-help@cinjug.org; run by ezmlm
Priority: normal
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>