Re: EOTemporaryGlobalID - Unique Bytes
Re: EOTemporaryGlobalID - Unique Bytes
- Subject: Re: EOTemporaryGlobalID - Unique Bytes
- From: Andrew Lindesay <email@hidden>
- Date: Thu, 28 Feb 2008 13:26:06 +1300
Hello Peter;
Just anecdotal evidence -- no concrete logs etc... just wanted to see
if anybody knew any issues there before I started a more involved
investigation. The new method I am trying is;
java.util.UUID.randomUUID().toString();
cheers.
I've been using this and haven't had a problem..... yet.
Which cases have you found that it's not unique?
If you find a different method, do you mind posting it here so we
can look into it too?
...
The method;
EOTemporaryGlobalID.assignGloballyUniqueBytes(..)
...has javadoc that reads;
Assigns to uniqueBytes an array of bytes that represent a byte
string that's guaranteed to be unique network wide.
In production I believe that I have seen some cases where it might
not be completely unique. Has anybody else come across this sort
of problem with the TGID before I start looking at the J2SE
equivalent.
___
Andrew Lindesay
technology : www.lindesay.co.nz
business : www.silvereye.co.nz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden