Re: How to debug fetch problem
Re: How to debug fetch problem
- Subject: Re: How to debug fetch problem
- From: Chuck Hill <email@hidden>
- Date: Tue, 10 Apr 2007 12:53:43 -0700
On Apr 10, 2007, at 12:46 PM, Mike Schrag wrote:
EOFetchSpecification fs =
EOFetchSpecification.fetchSpecificationNamed("getAllPanels",
"LicensePlate");
So instead of doing this, there is a chunk you can add to your
eogenerator template that will just give you a
NSArray panels = Panel.getAllPanels();
method,
I assume there is an EC in there somewhere.
which would make it so you would never screw up and pass the wrong
entity name into a fetch spec. I basically never use fetch specs
directly at this point -- it's always done through an entity
wrapper via eogenerator templates.
I am curious about this. Do you define all the fetch specs in the
model?
Chuck
--
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