jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: Versioning only if wanted???
Date Mon, 16 Mar 2009 09:36:40 GMT
Hi,

On Mon, Mar 16, 2009 at 10:12 AM, Bahl Christian <christian.bahl@gwvs.de> wrote:
> i have a question about using versioning in jackrabbit. if i declare a node as
> mix:versionable, everytime i update my node, there will be a new version, right?
> (checkout, save, checkin)

A new version is only created when you call checkin().

> is it possible not to create a new version of a versionable node?

Just don't call checkin(). A save() will persist changes to the
workspace without creating a new version.

BR,

Jukka Zitting

Mime
View raw message