Hi Oliver, ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 14, 2003 4:31 PM Subject: SequenceManager.getUniqueId() vs getUniqueLong()
> Hello, > > I have seen that there are these two methods: > > SequenceManager.getUniqueId(FieldDescriptor field) > > SequenceManager.getUniqueLong(FieldDescriptor field) > > If is required to be possible to have unique 32-bit ids, then I wonder > what the second method is good for. In all standard SequenceManagers, > the second method delegates to the first one. Yes, all standard sequence manager implementations use int values. Both methods make sense, because maybe others want to implement their own sequence manager based on long values ;-) > > I want to use 64-bit values, i.e. longs, as globally unique > ids, and I am afraid that 32 bits might not be enough. Hhm, global id's - if you to play it safe, implement your own sequence manager using long values. Or you one of the standard SM (2 billion entries per table is much too). regards, Armin > > Has anybody done this before? > > Regards, > Oliver > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
