• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
can't update a counter table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: can't update a counter table
      • From: Art Isbell <email@hidden>
    • Re: can't update a counter table
      • From: Chuck Hill <email@hidden>
  • Prev by Date: automated testing of site
  • Next by Date: [Newbie] MySQL "PASSWORD" in WO?
  • Previous by thread: Re: automated testing of site
  • Next by thread: Re: can't update a counter table
  • Index(es):
    • Date
    • Thread