• 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 'Wolf' Rentzsch" <email@hidden>
  • Date: Tue, 9 Mar 2004 16:04:32 -0600

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.


  • Follow-Ups:
    • Re: Whats the recommended way for cross-object information inquiry?
      • From: Jonathan Rochkind <email@hidden>
  • Prev by Date: Re: Limiting max number of sessions
  • Next by Date: Re: Inserting/Deleting Records From Within EOGenericRecord
  • 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