On Sun, Feb 22, 2009 at 4:39 AM, Koen Bok <k...@madebysofa.com> wrote:

> Hey all. By tax law, invoice numbers need to always be unique and
> sequential. Anyone has an idea to approach this on AppEngine in a
> sensible way?

Use a global counter that you access in a transaction. Of course, that
won't scale perfectly, but I think you'll have other problems if
you're generating invoices that fast!


Dave.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to