jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius" <dbros...@mebigfatguy.com>
Subject non versioned attributes on versioned nodes?
Date Fri, 15 Feb 2008 18:36:32 GMT

    I am trying to add a stream attribute to a versionable node that represents auditing information
regarding access to the node. To that end, i would prefer that the these updates are not done
in a checkout()/checkin() scenario as i don't want these changes to be represented in the
version history. When i try to set this property however, i get an exception

javax.jcr.nodetype.ConstraintViolationException: cannot set the value of a protected property

Am I doing something wrong, or is it not possible to update properties outside of versioning,
or am i barking up the wrong tree, and there is a better way to do this?


View raw message