It looks like you got the employee object using the session's default
editing context. And you are saying that your PaginaUsuario creates
its own editing context in the constructor. So there you have it: two
different editing contexts.
I would modify your setEmp() method in the PaginaUsuario that you make
a copy of the emp object passed in to the editing context used in that
page. Something like this:
public void estEmp(Employee anEmp) {
emp = anEmp.localInstanceIn(myEC);
}
Then your registerTurns() method is yet creating another editing
context. Shouldn't that be also myEC??
_______________________________________________
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]