jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: node versionning and children
Date Mon, 05 Oct 2009 17:37:07 GMT
On Mon, Oct 5, 2009 at 18:11, Nicolas Brasseur
<nicolasbrasseur@yahoo.com> wrote:
> I am pretty new to JCR / JackRabbit but here is my question : when making changes to
a versionable node is it possible that a new version is only created when changing a property
and not when adding new children. I mean does calling addNode() on a versionable node always
require a checkout / checkin ?

This depends on the OnParentVersion attribute(s) of the node type
(section 8.2.11 of the jcr 1.0 spec [1]). Here is a nice article about
that [2].

[1] http://www.day.com/specs/jcr/1.0/
[2] http://jtoee.com/jsr-170/the_jcr_primer/5/

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message