Actually (hitting Send jogs my memory :) it was that it does lexical compares which is invalid on type 1. So be careful. :)
On Wed, Jan 13, 2010 at 3:36 PM, Jonathan Ellis <jbel...@gmail.com> wrote: > I'm pretty sure that when I tested JUG it generated broken type 1 UUIDs. > > On Wed, Jan 13, 2010 at 3:14 PM, Tatu Saloranta <tsalora...@gmail.com> wrote: >> 2010/1/13 Nguyễn Minh Kha <nminh...@gmail.com>: >>> Thank Jonathan, I will try to port to C Sharp. >> >> If you need to port something, could have a look at better uuid packages. >> JUG (Java Uuid Generator) is simple, jakarta-commons has one, and >> there was a third one as well that claimed mostly be slightly faster >> than the other two. >> >> But it would seem odd if C# did not already have a package (open >> source, if core M$ packages do not provide type1 version) that does >> this. Have you searched for such? >> >> -+ Tatu +- >> >>> >>> On Sat, Jan 9, 2010 at 7:47 AM, Jonathan Ellis <jbel...@gmail.com> wrote: >>>> >>>> I didn't see any C# libraries that generate type 1 UUIDs. You might >>>> have to port this one from java: >>>> http://johannburkard.de/software/uuid/ >>>> >>>> 2010/1/8 Nguyễn Minh Kha <nminh...@gmail.com>: >>>> > Hi, I'm writing Cassandra in .Net (C Sharp) but I have a problem on gen >>>> > a >>>> > UUID for my project. >>>> > I used Guid to gen UUID Version 1 but when I add to Cassandra thow an >>>> > exception "TimeUUID only makes sense with version 1 UUIDs" >>>> > >>>> > I used uuidgen.exe (Windows SDK) to gen this Guid. >>>> > >>>> > Pls help me resolve this problem. >>>> > >>>> > Thanks >>>> > >>> >>> >>> >>> -- >>> Nguyen Minh Kha >>> >>> NCT Corporation >>> Email : kh...@nct.vn >>> Mobile : 090 696 1314 >>> Y!M : iminhkha >>> >> >