• 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
Re: Fetch Specifications defined in the .eomodel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fetch Specifications defined in the .eomodel


  • Subject: Re: Fetch Specifications defined in the .eomodel
  • From: David Avendasora <email@hidden>
  • Date: Fri, 15 Feb 2008 06:44:36 -0500

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Fetch Specifications defined in the .eomodel
      • From: Florijan Stamenkovic <email@hidden>
  • Prev by Date: Re: Sample template files for JavaEOGenerator
  • Next by Date: Re: Fetch Specifications defined in the .eomodel
  • Previous by thread: Re: Sample template files for JavaEOGenerator
  • Next by thread: Re: Fetch Specifications defined in the .eomodel
  • Index(es):
    • Date
    • Thread