Title: Message
Hi,
 
I've got two classes A and B which share a many-to-many relationship. It all works well, I'm a very happy camper. But now I'd like to access a column belonging to the intersection record ? How do I accomplish this in Castor ? Do I need to map a new "intersection class" on top of the intersection table or can I refer to the columns from either class A or B ?
 
Schematics:
 
Class A ---maps--> Table A
Class B ---maps--> Table B
Class A and B intersect via Table AB
 
Table AB looks lilke this:
 
table AB {
    foreignKeyA integer;
    foreignKeyB integer;
    dataColumn varchar;
}
 
 
Thanks,
Ijonas.
BEGIN:VCARD
VERSION:2.1
N:Kisselbach;Ijonas
FN:Ijonas Kisselbach
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20020718T143312Z
END:VCARD


Reply via email to