• 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: Setting up horizontal inheritance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting up horizontal inheritance


  • Subject: Re: Setting up horizontal inheritance
  • From: Paul Hoadley <email@hidden>
  • Date: Wed, 5 Nov 2008 10:23:40 +1030

On 05/11/2008, at 8:46 AM, Chuck Hill wrote:

Just a thought... Are you using Wonder to set the connection dictionaries for both models?

I wasn't using Wonder, but I was using this:

EODatabaseContext.forceConnectionWithModel(model, overrides,
new EOEditingContext());

to change 'URL', 'username', and 'password' in Application's constructor.  The connection dictionaries should have been identical after this.

If the connection dictionaries are not _identical_ (and I do mean indentical), that will cause problems.  Perhaps this one.  Mike added something to Wonder, I think, to warn or throw if this happens.  I think...

I'm just using some parts of Wonder in this app at the moment, and in particular I'm not extending ERXApplication, so I don't know whether that prevented Wonder from helping me here.

In any case, I've made the connection dictionaries identical in the models themselves, and the problem is solved.  I don't know why overriding those attributes in code didn't work---was I doing it in the wrong place?  I'll look into this issue, and also my future problem caused by using the wrong sequence to insert into amperson!

"Just a thought..."  Please pass on your thoughts any time, Chuck!  I would never have thought of looking at the connection dictionaries as the cause for this.  Thanks to all who contributed to this thread.


-- 
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


 _______________________________________________
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: Setting up horizontal inheritance
      • From: Chuck Hill <email@hidden>
    • Re: Setting up horizontal inheritance
      • From: Lachlan Deck <email@hidden>
    • Re: Setting up horizontal inheritance
      • From: Guido Neitzer <email@hidden>
References: 
 >Re: Setting up horizontal inheritance (From: Chuck Hill <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Paul Hoadley <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Ken Anderson <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Paul Hoadley <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Chuck Hill <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Paul Hoadley <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Chuck Hill <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Lachlan Deck <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Paul Hoadley <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Paul Hoadley <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Chuck Hill <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Paul Hoadley <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Chuck Hill <email@hidden>)
 >Re: Setting up horizontal inheritance (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Setting up horizontal inheritance
  • Next by Date: Re: xerces problem ....
  • Previous by thread: Re: Setting up horizontal inheritance
  • Next by thread: Re: Setting up horizontal inheritance
  • Index(es):
    • Date
    • Thread