• 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
pulling top level of relationships
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pulling top level of relationships


  • Subject: pulling top level of relationships
  • From: Don Lindsay <email@hidden>
  • Date: Thu, 05 Feb 2009 11:03:36 -0500

Hello;

When I use objectsWithFetchSpecification to retrieve an Array of User objects. (I setEntity("Users") and setIsDeep(true)). The Relationships in the Users object are not fetched. I believe this is due to faulting by EO. I would like to retrieve the top level relationships in the object without the EO having to make a round trip to the database, at a later time. Is there a way to pull the top level relationships in an Entity, or specify if I want to go deeper into the relationship model?

to use the example of users.

User Entity:
   Username attribute: String
   Password attribute: String
   Person attribute: Person EO Object

What I want to do is fetch all users and ensure that the Person object is fetched when I receive the Array of EOs back from objectsWithFetchSpecification.

Thanks

Don


_______________________________________________ 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: pulling top level of relationships
      • From: Lachlan Deck <email@hidden>
  • Prev by Date: [ANN] JBND 0.91
  • Next by Date: Re: BeanPropertyTarget argument type mismatch WO5.4.3
  • Previous by thread: [ANN] JBND 0.91
  • Next by thread: Re: pulling top level of relationships
  • Index(es):
    • Date
    • Thread