From: Sean O'Dell Date: 2004-07-30T02:11:51+09:00 Subject: Re: Stupid ODBC! On Wednesday 28 July 2004 23:06, Lennon Day-Reynolds wrote: > Sean: I like the idea of a seperate component that handles nothing but > ID generation. Properly done, it could easily extend to other useful > applications (sessions IDs for non-RDBMS-backed webapps, etc.). > > Now the only question is what underlying storage engine to > use...Berkeley DB? CDB? Flat files? PStore? I would use a regular old file. If you have a persistent layer, maintain it internally as a native integer and write it out each time it's incremented as text. Re-load the value from the file when the persistent layer first loads. Sean O'Dell