• 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: Jonathan Rochkind <email@hidden>
  • Date: Tue, 9 Mar 2004 16:36:41 -0600

Yeah, but in this case... did you see the SQL he wanted to use? I'm not sure there's any good way to get that SQL out of a qualifier/fetch spec. If there is.... then someone suggest it!

--Jonathan

At 4:04 PM -0600 3/9/04, Jonathan 'Wolf' Rentzsch wrote:
Arturo Pirez, email@hidden, wrote:
This avoids the SQL in the java problem while still permitting hand
crafted SQL.

I strongly recommend attempting to use the higher-level fetchspec description language (under the "qualifier" tab) instead jumping straight to raw SQL. I've only had one occasion where I had to use raw SQL in my model, and that was to work-around a bug. Qualifiers are quite capable, and are able to follow relationships.

Keeping raw SQL out of your project will increase your datasource
independence.

| Jonathan 'Wolf' Rentzsch http://rentzsch.com
| Red Shed Software http://redshed.net
| "better" necessarily means "different"
_______________________________________________
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.
_______________________________________________
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: 
 >Re: Whats the recommended way for cross-object information inquiry? (From: "Jonathan 'Wolf' Rentzsch" <email@hidden>)

  • Prev by Date: RE: Scheduling with WOTimer
  • Next by Date: Re: Whats the recommended way for cross-object information inquiry?
  • Previous by thread: Re: 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