On 29/12/09 21:03 +0100, Cédric Krier wrote: > But a timestamp is perhaps the solution with a wait if there is a collision. > The sequence will have a timestamp precision field and a last timestamp used. >
I propose to add a selection on ir.sequence that defines a type: - incremental (current one and default) - timestamp numeric - timestamp hexanumeric With x more fields for timestamp configuration: - precision (the precision in number of decimal after second) - offset (offset to remove since epoch) - last (hidden) (last sequence generated to prevent collision) -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email: [email protected] Jabber: [email protected] Website: http://www.b2ck.com/ twitter: http://twitter.com/cedrickrier identi.ca: http://identi.ca/cedrickrier
pgpv7wBNTpIqc.pgp
Description: PGP signature
