Re: How do you generate a GUID in java?

brougham5_at_yahoo.com
Date: 12/20/03


Date: Fri, 19 Dec 2003 21:45:15 -0600

Erico Di Gelato <italianice@cosanostra.gov> wrote:

>String s = new java.server.rmi.GUID().toString()

I don't build GUID exists. UID does. But that's not globally unique.

This might be what you want:

  java.rmi.dgc.VMID



Relevant Pages

  • Re: Generating a short GUID from varying input formats
    ... as part of a registration key generation process. ... A GUID of 8 or fewer ... > How can I generate a short GUID, given either of the two UID formats ... the GUID generated from a CDMA-format UID string ...
    (sci.crypt)
  • Re: Perhaps
    ... Public ReadOnly Property MyGuid() As Guid ... Dim uid as Guid ...
    (microsoft.public.dotnet.languages.vb)
  • RE: GUIDs & uniqueidentifiers in datasets
    ... You can generate a new GUID in your code using the System.Guid structure. ... This GUID will still be globally unique, even though it is not created in the ... "James Coates" wrote:> I am developing a windows forms application which takes its data from an SQL> server database where all the primary keys are uniqueidentifier fields. ...
    (microsoft.public.dotnet.framework.adonet)
  • RE: GUIDs & uniqueidentifiers in datasets
    ... > This GUID will still be globally unique, even though it is not created in the ... >> I am developing a windows forms application which takes its data from an SQL ... >> server database where all the primary keys are uniqueidentifier fields. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Perhaps
    ... How would you implement a windows form where you pass a reference to a Guid ... like getting the uid out of a textbox where we typed it in earlier. ... dim frm as new myFormClass ...
    (microsoft.public.dotnet.languages.vb)