[hibernate] many-to-many with additional data
From: Pawel Rozynek (prozz_at_wp.pl)
Date: 11/16/04
- Previous message: David Harper: "Try.reading.the.fine.manual?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 16 Nov 2004 15:32:20 +0100
Hello!
I've got following relational structure:
table A:
id,
name,
other data...
table B:
id,
name,
other data...
table C:
a_id,
b_id,
startDate,
stopDate.
How to write some hbm files or beans to visualize those additional data
(startDate and stopDate)? Without those columns it would be normal
many-to-many relation...
Maybe somewhere on the net there are examples of strange hibernate
mappings? ;]
Any help would be very appreciated!
-- Pawel Rozynek
- Previous message: David Harper: "Try.reading.the.fine.manual?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|