• 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
12? 16? 24? (was Re: How to fix "failed to provide new primary keys for..."?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

12? 16? 24? (was Re: How to fix "failed to provide new primary keys for..."?)


  • Subject: 12? 16? 24? (was Re: How to fix "failed to provide new primary keys for..."?)
  • From: PA <email@hidden>
  • Date: Tue, 18 Jan 2005 15:53:02 +0100


On Jan 18, 2005, at 15:15, Clark, Igor wrote:

24-byte BINARY fields

I'm still wondering... why, oh why 24 bytes?

The latest, greatest EOTemporaryGlobalID.assignGloballyUniqueBytes [1] describes it as:

 < Sequence [2], ProcessID [2] , Time [4], IP Addr [4] >

Which looks more or less like a regular UUID [2]. Which is only 16 bytes.

To confuse matter even more, the good, old + (void)assignGloballyUniqueBytes:(unsigned char *)buffer only use 12 bytes [3]:

< Sequence [2], ProcessID [2] , Time [4], IP Addr [4] >

What gives?

Cheers

--
PA
http://alt.textdrive.com/

P.S.

Where does the ProcessID comes from in Java?!?!?!?

[1] http://developer.apple.com/documentation/WebObjects/Reference/API/com/ webobjects/eocontrol/ EOTemporaryGlobalID.html#assignGloballyUniqueBytes(byte[])
[2] http://java.sun.com/j2se/1.5.0/docs/api/java/util/UUID.html
[3] http://developer.apple.com/documentation/LegacyTechnologies/WebObjects/ WebObjects_4.5/System/Library/Frameworks/EOControl.framework/ ObjC_classic/Classes/EOTemporaryGlobalID.html


_______________________________________________
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


References: 
 >RE: How to fix "failed to provide new primary keys for..."? (From: "Clark, Igor" <email@hidden>)

  • Prev by Date: RE: How to fix "failed to provide new primary keys for..."?
  • Next by Date: Re: WOUT and Eclipse
  • Previous by thread: Re: How to fix "failed to provide new primary keys for..."?
  • Next by thread: RE: How to fix "failed to provide new primary keys for..."?
  • Index(es):
    • Date
    • Thread