Hi All,
I've used eomodels that point to different databases without problems
before. For example, one points to a reporting database where we run
queries and then the report is stored in the live production
database. This is so that we don't impact the main database because
the volume of reports gets very heavy.
Anyways, recently we split an eomodel into two so we could point one
eomodel to another database that will hold some reference data. The
entities in one model have relationships with destination entities in
the second model.
The problem I'm seeing is that when I set a to-one relationship which
is the inverse of a to-many relationship I get this exception:
(com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException)
com.sun.jdi.InvocationException occurred invoking method.
This seems to happen within EOF inside
com.webobjects.foundation.NSKeyValueCoding._KeyBinding when the
setValueInBinding() method is getting called.
I can't print the stack trace because attempting to do so creates
another exception and nothing prints to the console. I also see this
in the console in Eclipse while the application is running and I
attempt to set the to-one relationship in the EO :
[2009-5-7 23:18:25 EDT] <WorkerThread13> <WOWorkerThread id=13
socket=null> Workerthread exiting due to error, respawning with ID
10013...
I was wondering if anyone has seen anything like this before? Or does
anybody have a clue what would cause a worker thread to exit?
I reverted to a single eomodel and the problem goes away... I'm gonna
attempt the eomodel split again to see what happens.
Thanks,
Ricardo
_______________________________________________
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]