Ah, sorry Dave, just saw that I copied the same method twice... :)
Here's the server side:
public EOFetchSpecification clientSideRequestGetFetchSpecification
(String spec, String entity){
try{
return
EOFetchSpecification.fetchSpecificationNamed(spec, entity);
}catch(Exception ex){
return null;
}
}
On Feb 15, 2008, at 07:44, David Avendasora wrote:
Hi Flor,
What does the clientSideRequestGetFetchSpecification method that
goes along with this in the Session class look like?
Thanks,
Dave
On Jan 14, 2008, at 3:04 PM, Florijan Stamenkovic wrote:
Server code, in the Session class:
/**
* Loads and returns an <tt>EOFetchSpecification</tt> objects for
the given
* specification and entity name.
*
@param spec Name of the specification
@param entity Name of the entitiy
@return A fetch specification, or <tt>null</tt> if it is not
found, or an
error occurs
*/
public EOFetchSpecification getFetchSpecification(String spec,
String entity){
try{
return
EOFetchSpecification.fetchSpecificationNamed(spec, entity);
}catch(Exception ex){
return null;
}
}
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]