How unique are id's?

29781, modified 18 Years ago. New Member Posts: 22 Join Date: 2/15/07 Recent Posts
Liferay generates ids for objects it manages, so for example a file entry might have a numeric id of 10801. My question is this:

--> Are these integers unique? <--

For example, would it be possible for me to have a file entry with id 10801 and a calendar entry with the same number of 10801? This will have some important design ramifications for a system I am writing so I need to know. I cannot find this spelled out anywhere in the documentation.

Thanks!

-- j
thumbnail
10437, modified 18 Years ago. Liferay Legend Posts: 2871 Join Date: 8/31/06 Recent Posts
Hi Jeff,

They are unique for most entities, including the ones you mentioned. Take a look at the values of the Counter table for details.