• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Inheritance and relationships
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inheritance and relationships


  • Subject: Re: Inheritance and relationships
  • From: Guido Neitzer <email@hidden>
  • Date: Sun, 10 Aug 2008 18:14:31 -0600

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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Inheritance and relationships
      • From: Chuck Hill <email@hidden>
References: 
 >Inheritance and relationships (From: Guido Neitzer <email@hidden>)
 >Re: Inheritance and relationships (From: Chuck Hill <email@hidden>)
 >Re: Inheritance and relationships (From: Mike Schrag <email@hidden>)
 >Re: Inheritance and relationships (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: WebService and HTTPS
  • Next by Date: Re: [OT] FrontBase problem when copying databases
  • Previous by thread: Re: Inheritance and relationships
  • Next by thread: Re: Inheritance and relationships
  • Index(es):
    • Date
    • Thread