jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: Primary property
Date Thu, 20 Aug 2009 13:01:18 GMT
Hi,

On Thu, Aug 20, 2009 at 2:54 PM, Brice_<bleporini@gmail.com> wrote:
> Is it possible to set a property to be unique in the context as the primary
> key of relational DB?

No, but here's what you can do:

* The UUID of a mix:referenceable node is guaranteed to be unique
within a workspace. In fact the generated UUIDs are pretty strongly
guaranteed to be truly unique unless you explicitly create another
node (via versioning or import) with the same UUID in a separate
workspace.

* The name of a node is unique among the child nodes of the same
parent unless the same-name-siblings option is been enabled in the
relevant node type.

BR,

Jukka Zitting

Mime
View raw message