Re: How to debug fetch problem
Re: How to debug fetch problem
- Subject: Re: How to debug fetch problem
- From: Mike Schrag <email@hidden>
- Date: Tue, 10 Apr 2007 15:46:53 -0400
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, 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.
ms |
_______________________________________________
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