On Feb 14, 2006, at 8:18 AM, Arturo Perez wrote:

Chuck Hill wrote:
Early.  Little coffee.  May still be delusional.
    argsStorage = new NSMutableArray();
    argsStorage.addObject(selectedFormFactor); // this is a toOne
    argsStorage.addObject(selectedFormType); // this is a toOne
argsStorage.addObject(selectedConnector); // this is the toMany that doesn't return any results, I'm just selecting one connector in the UI with a WOPopup qualStorage = EOQualifier.qualifierWithQualifierFormat ("(productFormFactor = %@) and (productFormType = %@) and (productExternalConnectors = %@)", argsStorage);

I'm thinking that this should be
(productExternalConnectors contains %@)

Also, I was under the impression that this just does not work at the RDBMS level, contains or =. At least for most databases. I recall that it once did work with FrontBase via some tweaking of the SQL by the plugin. Take a look at ExistsInRelationshipQualifier on http://homepage.mac.com/i_love_my/ code.html

Do you recall what was wrong with it? Maybe I'll muck with the pgSQL adapter in Wonder to make it work.


No, only that it generated SQL that was either syntactically incorrect or which did not return the correct results. This was probably in 4.0 or 4.01. It may have been fixed since then, but I don't recall have ever seen this noted in the release notes. I don't recall when I last tested this.

Chuck

--
Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to