• 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 being overly helpful.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOF being overly helpful.


  • Subject: Re: EOF being overly helpful.
  • From: Owen McKerrow <email@hidden>
  • Date: Tue, 20 Sep 2005 14:29:54 +1000


On 20/09/2005, at 2:15 PM, Chuck Hill wrote:


On Sep 19, 2005, at 9:08 PM, Owen McKerrow wrote:

On 20/09/2005, at 1:32 PM, Chuck Hill wrote:

On Sep 19, 2005, at 8:08 PM, Owen McKerrow wrote:


Hi Chuck,

I had thought about and tried the batch fault thing, but its grayed out for that relationship. i.e. for the PersonName -> Person relationship I can not set a batch fault value. Any ideas why this would be ?


I'm sleepy now, so not the clearest. Relationship batch faulting probably only works on to-many.


I think that may be the case, yes.


Try setting it on the Person entity and see if it works there.


Yup I can set a batch fault going this way but that doesn't help the problem.



Hmmmm



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)





There is some place (in our frameworks and in Project Wonder too),



sorry your frameworks ? can we get copies of those ? where from ?


Consider it a stealth announcement.

http://www.sourceforge.com/projects/gvcsitemaker


Cool !
_______________________________________________
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: EOF being overly helpful.
      • From: Chuck Hill <email@hidden>
References: 
 >EOF being overly helpful. (From: Owen McKerrow <email@hidden>)
 >Re: EOF being overly helpful. (From: Chuck Hill <email@hidden>)
 >Re: EOF being overly helpful. (From: Owen McKerrow <email@hidden>)
 >Re: EOF being overly helpful. (From: Chuck Hill <email@hidden>)
 >Re: EOF being overly helpful. (From: Owen McKerrow <email@hidden>)
 >Re: EOF being overly helpful. (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: EOF being overly helpful.
  • Next by Date: Re: EOF being overly helpful.
  • Previous by thread: Re: EOF being overly helpful.
  • Next by thread: Re: EOF being overly helpful.
  • Index(es):
    • Date
    • Thread