You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Florian Holeczek <fl...@holeczek.de> on 2008/06/26 09:38:06 UTC
linear versioning
Hi all,
JCR 2.0 will support simple versioning, which means a linear version
history like a wiki has.
My concern is how to ensure a linear version history in JCR 1.0 in a
scenario of several application instances accessing the workspace. Has
anybody tried this before or at least been thinking about it?
Regards,
Florian
Re: linear versioning
Posted by Jukka Zitting <ju...@gmail.com>.
Hi,
On Thu, Jun 26, 2008 at 10:38 AM, Florian Holeczek <fl...@holeczek.de> wrote:
> My concern is how to ensure a linear version history in JCR 1.0 in a
> scenario of several application instances accessing the workspace. Has
> anybody tried this before or at least been thinking about it?
You'll always have a linear version history if the only version
history operations you use are checkin() and checkout(). To create
branches you need things like restore() or clone().
There's no way in Jackrabbit itself to enforce that branches are *not*
created in a version history, but your application can of course
decide how it wants to use the versioning feature.
BR,
Jukka Zitting