Hello,

I'm using OJB PB and I have implemented 1:1, 1:N and M:N associations.
Retrieving and deleting objects in all of them work very well.

But I have some problem about storing and updating objects.
I give you an example:

I have a table A and a table B. There is a 1:1 association between them.
The table A have a B_FK foreign key that contain a primary key value of table B.
OK.
Now I want to store a new A object.
My question is:
Do I have to insert a B_FK value or could I have a NULL value in this field?
In other words: is the B_FK value mandatory?

Thank you all
Regards
Sylvain

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

Reply via email to