I see... mmm...  I would add a foreign key...

Every time I have tried to model this kind of relationship without a foreign key it ends up being problematic. I don't recall the details much though.



On Aug 7, 2009, at 11:00 AM, Francesco Romano wrote:

But it's the primary key of Cart...
Francesco



On 07/ago/09, at 16:29, Ricardo J. Parada wrote:


On Aug 7, 2009, at 4:09 AM, Francesco Romano wrote:

The relationship order is optional but the attribute id does not allow nulls.


I think you need to make the foreign key 'id' in cart optional so that it can take a null when the order relationship is null.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/rparada %40mac.com

This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to