• 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: [slightly OT] data modeling question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [slightly OT] data modeling question


  • Subject: Re: [slightly OT] data modeling question
  • From: "Tonny Staunsbrink" <email@hidden>
  • Date: Wed, 7 May 2008 21:33:10 +0200

I too have been in trouble when working with inheritance in eof. I think the only reason for using inheritance in the eo model is in case you want to make sql based (datebase based) queries at the base of the inheritance hierarchy. In all other circumstances i would try to avoid inheritance.

Note that not using inheritance in the eomodel does not prohibit using inheritance in the java class hierarchy.

Cheers
Tonny


On Wed, May 7, 2008 at 9:13 PM, Hugi Þórðarson <email@hidden> wrote:
I haven't actually checked out ERTaggable yet. Is it good?

Naw, Mike wrote it.  It's shite.  :-P

LOL - yup. That guy's a real pain :-).



Anyway.

I've long since stopped trying to use inheritance since I always seem to run into trouble. So my advice is always to stay away from it - which is a shame since it sounds cool - and perhaps it's just me and my lacklustre programming skills - but I never found it worth the complexity.

FWIW, I rarely have a project where I don't use it.  But I usually use the Single Table kind.  Horizontal also works.  Vertical might have some issues.

Hmmm, Thanks for the pointer. I was so badly burnt the last time that I haven't actually tried doing EOF inheritance for probably, well, 4 years now. It's probably time to try again since cases where it's an obvious design choice props up almost every project (as you say).

Cheers,
- Hugi

_______________________________________________
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

 _______________________________________________
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

  • Follow-Ups:
    • Re: [slightly OT] data modeling question
      • From: Guido Neitzer <email@hidden>
References: 
 >[slightly OT] data modeling question (From: Jaime Magiera <email@hidden>)
 >Re: [slightly OT] data modeling question (From: James Cicenia <email@hidden>)
 >Re: [slightly OT] data modeling question (From: Hugi Þórðarson <email@hidden>)
 >Re: [slightly OT] data modeling question (From: Chuck Hill <email@hidden>)
 >Re: [slightly OT] data modeling question (From: Hugi Þórðarson <email@hidden>)

  • Prev by Date: Re: [slightly OT] data modeling question
  • Next by Date: Re: OT: Daily currency conversion lists
  • Previous by thread: Re: [slightly OT] data modeling question
  • Next by thread: Re: [slightly OT] data modeling question
  • Index(es):
    • Date
    • Thread