Hallo Olli,

thanks for your reply, now it works better, but not as I want it.

What I want was a bidirectional 1:1 relationship but this one is only
unidirectional. I can get the BusinessPartner from the Customer but not
the otherway round.

Also the FK_CUST column in the DB is NULL but I'm not sure if I need
such a column, because in my opinion the key entry in the OJB_CUSTOMER
table should be enough!?

I hope you can help me with this issue, too ;-)

Thanks,

Stephan


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 08, 2003 6:54 PM
To: [EMAIL PROTECTED]
Subject: RE: 1:1 relationship


Hej Stephan

> -----Original Message-----

>       <reference-descriptor
[...]
>               <foreignkey>
>                        field-ref="fk_cust""

here, field-ref should not be xml-content
but an attribute in the opening tag.

>               </foreignkey>
>       </reference-descriptor>

HTH,
  Olli

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to