Hi,

As a general note, please use the [email protected] mailing
list for questions about using Jackrabbit.

On Tue, Sep 1, 2009 at 6:51 PM, [email protected]<[email protected]> wrote:
> First of all I want to say that you, folks, are doing a great job with
> Jackrabbit !

Thanks!

> I have a short question: when I delete a versionable node, does JR
> automatically delete all node's versions ?

No.

> If not, how can I delete the remaining orphan versions.

Use the VersionHistory.removeVersion() method.

Once you've removed all past versions and there are no remaining
references to the version history, Jackrabbit (since version 1.6.0,
see https://issues.apache.org/jira/browse/JCR-134) will automatically
remove also the version history node from /jcr:system.

BR,

Jukka Zitting

Reply via email to