Re: Deterministic UUID?
Klaus Wuestefeld <[email protected]>
| Newsgroups | gmane.comp.java.prevayler |
|---|---|
| Message-ID | <[email protected]> |
Hi Karl, Prevayler does not have a host identifier. See you, Klaus. On Mon, Jan 11, 2010 at 6:43 AM, Karl Wettin <[email protected]> wrote: > Due to several reasons I like my UUIDs, but as they are non > deterministic they cause a problem for Prevayler. > > So based on execution time and a sequence number I implemented this 10 > byte identity I call DUID, deterministic unique identifier. To get all > the features of an UUID in there (except for the universal part) it > would be nice to add the final 6 bytes of host identification in there > too. I suppose that would mean an application and cluster node > identitity. Is there something existing in the Prevayler API that I > can use for this? The only deterministic solution I can think of is to > implement a transaction superclass that contains these values, > automatically initialized via some config file/spring/what not. > > > karl > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion > _______________________________________________ > "Databases in Memoriam" -- http://www.prevayler.org > ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion _______________________________________________ "Databases in Memoriam" -- http://www.prevayler.org