Re: Postgresql and ERXSQLHelper
Re: Postgresql and ERXSQLHelper
- Subject: Re: Postgresql and ERXSQLHelper
- From: Michael Gargano <email@hidden>
- Date: Mon, 19 Mar 2012 14:46:37 -0700
- Acceptlanguage: en-US
- Thread-topic: Postgresql and ERXSQLHelper
Just some follow up on this....
It turns out this had to do with being headless. As soon as initApp was added (or when I turned it into a full fledge WO app) the problem went away. I'm not sure what additional work is being done in initApp, but this is clearly a bug when running headless. I wish I knew where to look to fix it, but nothing that initApp does jumped out at me as something that was missing in initEOF.
-Mike
On Mar 16, 2012, at 6:35 PM, Michael Gargano wrote:
> Okay, I'm not sure how to explain this, but here it goes...
>
> I have two apps, a standard wonder app and a headless wonder app that only calls initEOF.
> Both of these apps use a common framework and both are set to use the PostgreSQLPlugIn. In one of the fetch specs in my framework an ERXFalseQualifier is used. In the regular wonder app this works fine and it generates "0=1" as it should through ERXSQLHelper. On the headless app, however, this fails stating that the PostgreSQLPlugIn doesn't support generation of ERXFalseQualifier. While carefully stepping through this ball of confusion I noticed that this is deferred to ERXSQLHelper in the regular app, but in the headless app nothing ever goes through ERXSQLHelper, only the postgres plugin code is ever called.
>
> Can anyone offer any insights into what is going on here? Why isn't ERXSQLHelper being used?
>
> Thanks.
> Much appreciated.
>
> -Mike
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden