Re: EOF being overly helpful.
Re: EOF being overly helpful.
- Subject: Re: EOF being overly helpful.
- From: Chuck Hill <email@hidden>
- Date: Mon, 19 Sep 2005 21:34:43 -0700
On Sep 19, 2005, at 9:29 PM, Owen McKerrow wrote:
snip
And I had also added person as pre-fetch path, but it still
executes the SQL as below i.e. firing the faults one at a time.
Again any ideas why this is ?
No, that should not happen. Could be something in the model
messed up, confusing EOF about which is which entity. Are you
using inheritance?
Yup using single table inheritance. Person inherits to Staff,
Student and External. Difference is defined by value of type.
Could this effect it and if so how ?
How is that modelled?
I had actually been meaning to check with the list I had done this
the right way, so let me take this opportunity to kill two birds
with the one stone
Person entity. ( Qualifier : ((type = 2) or (type = 3) or (type =
4)) ) I did this as it keept complaining if I left it blank. This
is the main bit i wanted to check I was doing right.
Student entity inherits from Person. Qualifier : (type = 3)
Researcher entity inherits from Person. Qualifier : (type = 2)
External entity inherits from Person. Qualifier : (type = 4)
No, that is not right. I am assuming that Person is in effect
abstract and that there will never be an instance of Person. Make
the qualifier type = 0 or -1 or something that will never match.
sorry your frameworks ? can we get copies of those ? where from ?
Consider it a stealth announcement.
http://www.sourceforge.com/projects/gvcsitemaker
Cool !
My bad for being too lazy / skilled at procrastination to write a
press release. Eventually :-P I delegated it to someone apparently
even more skilled than I.
Chuck
--
Unnamed - an introduction to web applications using WebObjects and
Xcode http://www.global-village.net/wointro
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