• 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
fetchSpecificationNamed not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fetchSpecificationNamed not working


  • Subject: fetchSpecificationNamed not working
  • From: "Goh Keng Boon" <email@hidden>
  • Date: Thu, 15 Apr 2004 12:12:57 +0800 (SGT)

Hi, i'm new to WO and just started playing around with data fetching. I'm
able to insert searchcriterial by using qualifierWithQualifierFormat, however i'm not able to get
fetchSpecificationNamed working. Below is the sample code :

EOEditingContext ec = session().defaultEditingContext();
EOFetchSpecification fs = EOFetchSpecification.
fetchSpecificationNamed("fetchCourse","Course");fetchResults = ec.objectsWithFetchSpecification(fs,ec);

I have the search criterial inside the fetchspec-fetchCourse, and i've
tested the fetchspec usingdatabrowser, it works. However, whenever i tried to use the above code, it
tends to displayeverything.

Thanks.

Regards,
Keng Boon
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Direct Actions in Components
  • Next by Date: Re: EditingContext question
  • Previous by thread: Re: Direct Actions in Components
  • Next by thread: Re: fetchSpecificationNamed not working
  • Index(es):
    • Date
    • Thread