フォーラム

ホーム » Liferay Portal » English » 3. Development

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Nguyen Van Chuong
What is uuid_ ?
2012/03/02 7:25
答え

Nguyen Van Chuong

ランク: New Member

投稿: 13

参加年月日: 2012/01/23

最近の投稿

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_ ?
2012/03/02 9:29
答え

Ram Manusani

ランク: Regular Member

投稿: 124

参加年月日: 2011/10/27

最近の投稿

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_ ?
2012/04/06 11:04
答え

Nguyen Van Chuong

ランク: New Member

投稿: 13

参加年月日: 2012/01/23

最近の投稿

thaks you emoticon
Danny Stevens
RE: What is uuid_ ?
2012/08/07 22:53
答え

Danny Stevens

ランク: New Member

投稿: 20

参加年月日: 2011/09/14

最近の投稿

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_ ?
2012/08/08 18:49
答え

Brian Kim

LIFERAY STAFF

ランク: Expert

投稿: 319

参加年月日: 2004/08/16

最近の投稿

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