Re: Globally Unique IDs
Re: Globally Unique IDs
- Subject: Re: Globally Unique IDs
- From: email@hidden (Anjo Krank)
- Date: Wed, 25 Jun 2003 07:25:10 +0200
- Xx-reply-to: email@hidden
Set your primary key to NSData with a size of 48 bytes. Then WO will
create a homebrew UUID for you automatically. ALternately, searching
google with "uuid in java" yields a bazillion results...
Cheers, Anjo
Am Mittwoch, 25.06.03 um 03:31 Uhr schrieb Goodbye Bill:
I am assuming this question has been asked a bazillion times already.
My
apologies if it has...
How can I create a globally unique ID using Java and/or WebObjects? I
am
having to port a .NET / SQL 2000 application to WebObjects and need to
ensure that an ID is never duplicated for several million records in a
database. I also cannot depend on the database to generate the ID.
Any assistance would be greatly appreciated.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.