• 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
Creating an EOEditingContext object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating an EOEditingContext object


  • Subject: Creating an EOEditingContext object
  • From: Ismael Nass-Duce <email@hidden>
  • Date: Sun, 25 Apr 2004 19:11:09 -0700

Hi,

How can I create an EOEditingContext object that I can use to
access records from a database.

I created a WebObjects application, which uses the same EO model
that I used for WebObjects Java Client.

I want to use the objectsWithFetchSpecification() or
EOUtilities.objectsForEntityNamed()
methods to fetch objects from the database.

 From what I can gather, I'll need to do the following:

 >| - construct a model from a file
 >| - create a EODatabase from that model
 >| - create an EOQualifier with format
 >| - create an EOFetchSpecification with entity
 >| - retrieve an EOEditingContext from EODatabase

Is there sample code that applies these steps?

Ismael
_______________________________________________
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.


  • Follow-Ups:
    • Re: Creating an EOEditingContext object
      • From: Ismael Nass-Duce <email@hidden>
    • Re: Creating an EOEditingContext object
      • From: Randall Perry <email@hidden>
    • Re: Creating an EOEditingContext object
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Fetching from related object
  • Next by Date: Re: Creating an EOEditingContext object
  • Previous by thread: Re: Use of derived Attributes
  • Next by thread: Re: Creating an EOEditingContext object
  • Index(es):
    • Date
    • Thread