• 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: EOF Inheritance problems help needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOF Inheritance problems help needed


  • Subject: Re: EOF Inheritance problems help needed
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 18 May 2007 10:45:10 -0700


On May 18, 2007, at 2:31 AM, Lachlan Deck wrote:

Okay, I've made some progress, simplified the model, but there's one final problem that's a bit baffling:
- the foreign key ('clientId') is not being given a value in the sql.


So I have an abstract parent called Taggable with various kids.

Taggable (Abstract, vertical inheritance)
	id
	created
	modified
	clientId (foreignKey) with relationship 'client'

One of the subentities 'Course' has additional fields - but when saving the record the clientId is not being passed in the sql statement.

Any ideas why?

If you do have duplicated PK values in an inheritance hierarchy split across table, this will confuse EOF as to what entity an object is. That might explain it.



Chuck


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
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: 
 >EOF Inheritance problems help (From: Lachlan Deck <email@hidden>)
 >Re: EOF Inheritance problems help needed (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: EOF Inheritance problems help
  • Next by Date: Re: EOF Inheritance problems help
  • Previous by thread: Re: EOF Inheritance problems help needed
  • Next by thread: Re: EOF Inheritance problems help
  • Index(es):
    • Date
    • Thread