RE: Ordering of operations in editingContext
RE: Ordering of operations in editingContext
- Subject: RE: Ordering of operations in editingContext
- From: Kaj Hejer <email@hidden>
- Date: Fri, 29 Aug 2003 14:59:38 +0200
At 17:53 -0400 28-08-2003, dov rosenberg wrote:
The deferrable option on a constrainst is designed to solve the problem with
circular types of relationships. i.e. Person might have relationships to
another table and vica versa. It is also helpful when a single entity has a
lot of other relationships to other Entities. If you try to delete an entity
that has lots of relations, you might find your self screwed over when EOF
decides how to order the transactions.
Hi!
Thank you to all who have answered!
The source of the problem here seems to be that we have a pk with
meaning and by doing that we run into some issues when creating new
objects. The design of the databasemodel is not in our hands in this
project, so that is life :)
The example I posed yesterday was a bit to simple and I see that it
didn't show our problems around this issue in any good way.
As a workaorund we are going to redesign the GUI in our app so that
it not will be possible to insert/delete object without saving
between each insert/delete.
-Kaj :)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.