• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Inheritance Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Inheritance Problem (From: David Avendasora <email@hidden>)

  • Prev by Date: Re: refreshing the defaultEditingContext
  • Next by Date: Re: Inheritance Problem
  • Previous by thread: Inheritance Problem
  • Next by thread: Re: Inheritance Problem
  • Index(es):
    • Date
    • Thread