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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]