This one time, at band camp, Werner Guttmann said:

WG>Excuse me, but can anybody please confirm that this is *really* the
WG>case. Somehow I cannot believe that this is true for a 1:1 relationship.
WG>
WG>Werner
WG>
WG>Peter Jeszenszky wrote:
WG>
WG>> Hi Thomas,
WG>>
WG>> The one-to-one relationship must be bidirectional at the
WG>> database level too. That means you must use the tables
WG>>
WG>> Table A (id,b_id) b_id is a foreign key to B.id
WG>>
WG>> and
WG>>
WG>> Table B (id,a_id) a_id is a foreign key to A.id
WG>>
WG>> I have a complete working one-to-one example that I can
WG>> sent you if you want.

Werner, 

Yes, unfortunately this is true. Castor JDO currently requires that
relationships be bi-directional. Eventually we want to get away from
this requirement, but there is a *lot* of work to do to the code base
before this is even possible.

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