Re: Inheritance Problem
Re: Inheritance Problem
- Subject: Re: Inheritance Problem
- From: Robert Walker <email@hidden>
- Date: Tue, 16 May 2006 13:55:33 -0400
David,
How are you defining your one-to-one relationship? Is it propagating
the primary key in one direction?
Can you illustrate your relationship/inheritance design? That would
really help a lot. Indicate where you are propagating keys, etc.
On May 16, 2006, at 11:25 AM, David Avendasora wrote:
Hi all,
I am trying to save an instance of a subclass to the database after
creating it from scratch. I am getting a foreign-key constraint
error from the database because it hasn't created the database
record for the parent class yet, which has a one-to-one
relationship configured in the database.
I've recreated the relationship in the DB and in EOModeler just to
make sure I had done it correctly, but I'm still getting the same
error.
Any ideas? Am I missing something obvious?
Thanks,
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
--
Robert Walker
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden