• 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: Whats the recommended way for cross-object information inquiry?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Whats the recommended way for cross-object information inquiry?


  • Subject: Re: Whats the recommended way for cross-object information inquiry?
  • From: Arturo PĂ©rez <email@hidden>
  • Date: Tue, 9 Mar 2004 16:26:23 -0500

On Mar 9, 2004, at 3:46 PM, Magnus Rembold wrote:

Dear List,

Now... what is the recommended way of doing this? Object traversal and compiling the list for yourself or raw SQL and converting the results? Or is there a third much more WO-design-like manner for solving this?

Your comments, hints and help are very welcome. As always. ;-)

An alternative is a fetch specification in your eomodel. That's what I've always done and it works
fine. The only issue there is since fetchSpecs are tied to entities you'd have to figure out which
entity is the most appropriate.


This avoids the SQL in the java problem while still permitting hand crafted SQL.

----
WO in philadelphia - wanna cheesesteak with that?
Please visit webobjects.meetup.com.
_______________________________________________
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.


References: 
 >Whats the recommended way for cross-object information inquiry? (From: Magnus Rembold <email@hidden>)

  • Prev by Date: Re: Whats the recommended way for cross-object information inquiry?
  • Next by Date: Re: NSLog.Log4JLogger
  • Previous by thread: Whats the recommended way for cross-object information inquiry?
  • Next by thread: Re: Whats the recommended way for cross-object information inquiry?
  • Index(es):
    • Date
    • Thread