can't update a counter table
can't update a counter table
- Subject: can't update a counter table
- From: John Spicer <email@hidden>
- Date: Fri, 30 Apr 2004 14:54:31 -0500
For now, early development, we are using a table with one attribute
(nextID) to store a value for the next event ID to be used in the
system.
The idea is fairly simple: get the value, use it, add 1, and write it
back out.
However, sometimes for reasons yet unclear (hence this post), the new
value is not written in the table.
It seems to have something to do with the editing context for this
object, no matter what we try, it always says that there have been no
changes, and of course, it won't write the value under those
circumstances.
I have a feeling we're doing something fundamentally wrong here!
Any ideas?
_______________________________________________
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.