Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Nguyen Van Chuong
What is uuid_ ?
2 de marzo de 2012 7:25
Respuesta

Nguyen Van Chuong

Ranking: New Member

Mensajes: 13

Fecha de incorporación: 23 de enero de 2012

Mensajes recientes

hi every body !
i don't know uuid_ . help me emoticon
thanks .

example:
 1
 2CREATE TABLE `bookmarksfolder` (
 3[size=6] [b]`uuid_` varchar(75) collate utf8_unicode_ci default NULL,[/b][/size]
 4  `folderId` bigint(20) NOT NULL,
 5  `groupId` bigint(20) default NULL,
 6  `companyId` bigint(20) default NULL,
 7  `userId` bigint(20) default NULL,
 8  `userName` varchar(75) collate utf8_unicode_ci default NULL,
 9  `createDate` datetime default NULL,
10  `modifiedDate` datetime default NULL,
11  `resourceBlockId` bigint(20) default NULL,
12  `parentFolderId` bigint(20) default NULL,
13  `name` varchar(75) collate utf8_unicode_ci default NULL,
14  `description` longtext collate utf8_unicode_ci,
15  PRIMARY KEY  (`folderId`),
16  UNIQUE KEY `IX_DC2F8927` (`uuid_`,`groupId`),
17  KEY `IX_2ABA25D7` (`companyId`),
18  KEY `IX_7F703619` (`groupId`),
19  KEY `IX_967799C0` (`groupId`,`parentFolderId`),
20  KEY `IX_28A49BB9` (`resourceBlockId`),
21  KEY `IX_451E7AE3` (`uuid_`)
22) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
Ram Manusani
RE: What is uuid_ ?
2 de marzo de 2012 9:29
Respuesta

Ram Manusani

Ranking: Regular Member

Mensajes: 124

Fecha de incorporación: 27 de octubre de 2011

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.
Nguyen Van Chuong
RE: What is uuid_ ?
6 de abril de 2012 11:04
Respuesta

Nguyen Van Chuong

Ranking: New Member

Mensajes: 13

Fecha de incorporación: 23 de enero de 2012

Mensajes recientes

thaks you emoticon
Danny Stevens
RE: What is uuid_ ?
7 de agosto de 2012 22:53
Respuesta

Danny Stevens

Ranking: New Member

Mensajes: 20

Fecha de incorporación: 14 de septiembre de 2011

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?
Brian Kim
RE: What is uuid_ ?
8 de agosto de 2012 18:49
Respuesta

Brian Kim

LIFERAY STAFF

Ranking: Expert

Mensajes: 319

Fecha de incorporación: 16 de agosto de 2004

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"?