• 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: Single Table inheritance and EM question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Single Table inheritance and EM question


  • Subject: Re: Single Table inheritance and EM question
  • From: Guido Neitzer <email@hidden>
  • Date: Wed, 20 Aug 2008 14:16:38 -0600
  • Thread-topic: Single Table inheritance and EM question

On 20.08.08 14:06, "William Hatch" <email@hidden> wrote:

> The sub entities all have the Parent defined as Summary (using the pop
> up) The Summary entity is abstract, and does not have a corresponding
> table set; I thought this was correct; is it? Each of the sub types
> use this as the distinguishing qualifier (summaryRangeType="month")
> where summaryRangeType is a class property and is set in the class
> over ride of awakeFromInsertion, although we're not using EOF to
> populate it anyway, but again thought this was the standard way to go
> about implementing single table inheritance. Thanks Chuck.

I don't know whether it makes a difference, but I also always set the table
on the abstract base entity.

Side note: if you are using ProjectWonder you should do initialization in
init, not in awakeFromInsertion. Or check whether the object is a new object
and only do the initialization there.

cug


 _______________________________________________
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: 
 >Re: Single Table inheritance and EM question (From: William Hatch <email@hidden>)

  • Prev by Date: Re: Single Table inheritance and EM question
  • Next by Date: Re: Single Table inheritance and EM question
  • Previous by thread: Re: Single Table inheritance and EM question
  • Next by thread: Re: Single Table inheritance and EM question
  • Index(es):
    • Date
    • Thread