[Zope-dev] Re: Unique ID generation with ZODB.

Casey Duncan casey at zope.com
Tue Apr 6 09:21:57 EDT 2004


On 05 Apr 2004 14:18:25 +0200
Syver Enstad <syver at inout.no> wrote:

> 
> How does one implement a unique id generator in ZODB. The id's should
> be strictyl ascending and be a an int. Would opening a temporary
> connection increment a persistent counter and commit do the trick?

Why does it need to be ascending? If you remove that requirement it
makes it nearly trivial to implement.

-Casey




More information about the Zope-Dev mailing list