Foren

What is uuid_ ?

thumbnail
Nguyen Van Chuong, geändert vor 12 Jahren.

What is uuid_ ?

New Member Beiträge: 13 Beitrittsdatum: 24.01.12 Neueste Beiträge
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, geändert vor 12 Jahren.

RE: What is uuid_ ?

Regular Member Beiträge: 124 Beitrittsdatum: 27.10.11 Neueste Beiträge
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, geändert vor 12 Jahren.

RE: What is uuid_ ?

New Member Beiträge: 13 Beitrittsdatum: 24.01.12 Neueste Beiträge
thaks you emoticon
thumbnail
Danny Stevens, geändert vor 11 Jahren.

RE: What is uuid_ ?

New Member Beiträge: 20 Beitrittsdatum: 15.09.11 Neueste Beiträge
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, geändert vor 11 Jahren.

RE: What is uuid_ ?

Expert Beiträge: 311 Beitrittsdatum: 17.08.04 Neueste Beiträge
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"?