This one time, at band camp, Patrick von der Hagen said:

PvdH>automatically. My problem seems to be that I can't find a way to define
PvdH>a mapping of class Address, so that Address's ID references Person's ID.
PvdH>
PvdH>Any hints would be greatly appreciated.

Patrick,

I think what you want is a compound primary key. This is a primary
key that is made up of more than one field in a given table. Castor
can handle this via the mapping descriptor. However, be aware that
Castor currently does not support a compound primary key containing
a foreign key - and I think this is what you're describing.

Bruce
--

perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to