Re: Whats the recommended way for cross-object information inquiry?
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.