Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Nguyen Van Chuong
What is uuid_ ?
2 de Março de 2012 07:25
Resposta

Nguyen Van Chuong

Ranking: New Member

Mensagens: 13

Data de entrada: 23 de Janeiro de 2012

Mensagens recentes

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 Março de 2012 09:29
Resposta

Ram Manusani

Ranking: Regular Member

Mensagens: 124

Data de entrada: 27 de Outubro de 2011

Mensagens recentes

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
Resposta

Nguyen Van Chuong

Ranking: New Member

Mensagens: 13

Data de entrada: 23 de Janeiro de 2012

Mensagens recentes

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

Danny Stevens

Ranking: New Member

Mensagens: 20

Data de entrada: 14 de Setembro de 2011

Mensagens recentes

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
Resposta

Brian Kim

LIFERAY STAFF

Ranking: Expert

Mensagens: 319

Data de entrada: 16 de Agosto de 2004

Mensagens recentes

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