Foros de discusión

What is uuid_ ?

thumbnail
Nguyen Van Chuong, modificado hace 12 años.

What is uuid_ ?

New Member Mensajes: 13 Fecha de incorporación: 24/01/12 Mensajes recientes
hi every body !
i don't know uuid_ . help me emoticon
thanks .

example:

CREATE TABLE `bookmarksfolder` (
[size=6] [b]`uuid_` varchar(75) collate utf8_unicode_ci default NULL,[/b][/size]
  `folderId` bigint(20) NOT NULL,
  `groupId` bigint(20) default NULL,
  `companyId` bigint(20) default NULL,
  `userId` bigint(20) default NULL,
  `userName` varchar(75) collate utf8_unicode_ci default NULL,
  `createDate` datetime default NULL,
  `modifiedDate` datetime default NULL,
  `resourceBlockId` bigint(20) default NULL,
  `parentFolderId` bigint(20) default NULL,
  `name` varchar(75) collate utf8_unicode_ci default NULL,
  `description` longtext collate utf8_unicode_ci,
  PRIMARY KEY  (`folderId`),
  UNIQUE KEY `IX_DC2F8927` (`uuid_`,`groupId`),
  KEY `IX_2ABA25D7` (`companyId`),
  KEY `IX_7F703619` (`groupId`),
  KEY `IX_967799C0` (`groupId`,`parentFolderId`),
  KEY `IX_28A49BB9` (`resourceBlockId`),
  KEY `IX_451E7AE3` (`uuid_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
thumbnail
Ram Manusani, modificado hace 12 años.

RE: What is uuid_ ?

Regular Member Mensajes: 124 Fecha de incorporación: 27/10/11 Mensajes recientes
It is a Universal unique Identifier, UUID (or GUID) is a unique identifier that can be created without a central authority. UUIDs can be used if a sequence number is not good enough. This implementation is thread safe and very fast.
thumbnail
Nguyen Van Chuong, modificado hace 11 años.

RE: What is uuid_ ?

New Member Mensajes: 13 Fecha de incorporación: 24/01/12 Mensajes recientes
thaks you emoticon
thumbnail
Danny Stevens, modificado hace 11 años.

RE: What is uuid_ ?

New Member Mensajes: 20 Fecha de incorporación: 15/09/11 Mensajes recientes
Ram Manusani:
It is a Universal unique Identifier, UUID (or GUID) is a unique identifier that can be created without a central authority. UUIDs can be used if a sequence number is not good enough. This implementation is thread safe and very fast.



If you are copying a user or group from one Liferay server to another would a uuid be certain to be unique in the new Liferay server?
thumbnail
Brian Kim, modificado hace 11 años.

RE: What is uuid_ ?

Expert Mensajes: 311 Fecha de incorporación: 17/08/04 Mensajes recientes
Danny Stevens:
Ram Manusani:
It is a Universal unique Identifier, UUID (or GUID) is a unique identifier that can be created without a central authority. UUIDs can be used if a sequence number is not good enough. This implementation is thread safe and very fast.


If you are copying a user or group from one Liferay server to another would a uuid be certain to be unique in the new Liferay server?


Your question isn't really clear. What do you mean by "copying"? In what way is the "one Liferay server" related to the "new Liferay server"?