• 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: Peter Vandoros <email@hidden>
  • Date: Thu, 28 Feb 2008 11:29:47 +1100

HI Andrew,

Thanks for that. I had come across that class too.

Thanks

Peter

Andrew Lindesay wrote:
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





--
Peter Vandoros
Software Engineer
Etech Group Pty Ltd
Level 3/21 Victoria St
Melbourne VIC 3000
Australia

Ph: +61 3 9639 9677
Fax: +61 3 9639 9577
----------------------------------
IMPORTANT: This e-mail message and any attachments are confidential and may be privileged. If received in error, please reply to this message and destroy all copies and any attachments. You should check this message and any attachments for viruses or defects. Our liability is limited to resupplying any affected message or attachments. For more information about Etech Group, please visit us at http://www.etechgroup.com.au.
 _______________________________________________
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: "Mr. Pierre Frisch" <email@hidden>
References: 
 >EOTemporaryGlobalID - Unique Bytes (From: Andrew Lindesay <email@hidden>)
 >Re: EOTemporaryGlobalID - Unique Bytes (From: Peter Vandoros <email@hidden>)
 >Re: EOTemporaryGlobalID - Unique Bytes (From: Andrew Lindesay <email@hidden>)

  • Prev by Date: Re: EOTemporaryGlobalID - Unique Bytes
  • Next by Date: [OT] "...creation and use of Objective-C objects in Java."
  • Previous by thread: Re: EOTemporaryGlobalID - Unique Bytes
  • Next by thread: Re: EOTemporaryGlobalID - Unique Bytes
  • Index(es):
    • Date
    • Thread