• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EOTemporaryGlobalID - Unique Bytes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: EOTemporaryGlobalID - Unique Bytes
      • From: Peter Vandoros <email@hidden>
References: 
 >EOTemporaryGlobalID - Unique Bytes (From: Andrew Lindesay <email@hidden>)
 >Re: EOTemporaryGlobalID - Unique Bytes (From: Peter Vandoros <email@hidden>)

  • Prev by Date: Re: EOTemporaryGlobalID - Unique Bytes
  • Next by Date: Re: EOTemporaryGlobalID - Unique Bytes
  • Previous by thread: Re: EOTemporaryGlobalID - Unique Bytes
  • Next by thread: Re: EOTemporaryGlobalID - Unique Bytes
  • Index(es):
    • Date
    • Thread