On 10.08.2008, at 15:35, Chuck Hill wrote:

I didn't list it this time, though I should have .. I completely forgot about this crazy problem. We should probably put some checks in Wonder for common types of errors (connection dictionary is CLOSE but not EXACT).

Maybe anything where the JDBC URL matches and all of the rest does not match?

Brmblfx. I even have something that does more or less that in my application class as I connect with that application against several databases - but it doesn't do an equals, it compares the urls and users, but not the password. Stupid me. I never spent too much time thinking about the connection dict in the model as it is set by properties for the specific application instance.

Reason why I ran into that:

1. I refactored my frameworks A LOT, ripping models apart to move them to separate frameworks and so on.

2. I added two new models and frameworks while doing 1.

3. I set my connection dictionaries from the properties for the application.

4. In one of the properties file was an ancient entry (from more than a year ago according to the file) overriding the one I was setting for my new model - probably because I had a model with that name last year before ditching it for reasons I can't remember ... ;-(

And in all my testing in the last days I cleaned all that stuff but missed the password somehow ...

Damn. I should sleep more. Or drink more coffee. Or both.

cug

--
http://www.event-s.net

_______________________________________________
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