Normally I get the error:

java.lang.IllegalStateException: You attempted to localInstance <com.model.Foo pk:"null">, which has not yet committed.

But I think that it should be allowed, even if that requires that I get a primary key for localFoo.
It is not allowed ... An editing context specifies a transaction, and you're trying to create an EO in two transactions at once, which doesn't really make sense, not to mention what does it mean if you have relationships to other objects (which could also be new).

ms
 _______________________________________________
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]

Reply via email to