Tribune

Home » Liferay Portal » English » 3. Development

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Nguyen Van Chuong
What is uuid_ ?
2 marzo 2012 7.25
Risposta

Nguyen Van Chuong

Punteggio: New Member

Messaggi: 13

Data di Iscrizione: 23 gennaio 2012

Messaggi recenti

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 marzo 2012 9.29
Risposta

Ram Manusani

Punteggio: Regular Member

Messaggi: 124

Data di Iscrizione: 27 ottobre 2011

Messaggi recenti

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 aprile 2012 11.04
Risposta

Nguyen Van Chuong

Punteggio: New Member

Messaggi: 13

Data di Iscrizione: 23 gennaio 2012

Messaggi recenti

thaks you emoticon
Danny Stevens
RE: What is uuid_ ?
7 agosto 2012 22.53
Risposta

Danny Stevens

Punteggio: New Member

Messaggi: 20

Data di Iscrizione: 14 settembre 2011

Messaggi recenti

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 agosto 2012 18.49
Risposta

Brian Kim

LIFERAY STAFF

Punteggio: Expert

Messaggi: 319

Data di Iscrizione: 16 agosto 2004

Messaggi recenti

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