fetchSpecificationNamed not working
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.