Hi Henrique.

On Nov 28, 2008, at 6:37 AM, Henrique Prange wrote:

Hi Chuck,

Chuck Hill wrote:
If the models are not connected, I think this code will cause them to connect. Is this running before or after the code you added to connect models?

The test code runs before the code that connect models.

You really want it to run after (well, really, want your model connection code to run as early as possible so that it catches and and all notifications).

Should I execute something like ERXJDBCConnectionAnalyzer.testConnection for each model as soon as my application finish launching?

Doing anything like this will connect the models and may hide or alter the original behavior. What you really want to do is to ensure that the model connection code runs very, very early before any bundles get loaded. I suspect that once you make that change, that this problem will go away.



I am guessing that perhaps your model connection code is running too late and so not affecting one (or both) of the models.

Makes sense.

Cheers,

Henrique

Chuck


--
Chuck Hill             Senior Consultant / VP Development

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