You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Daniele Cherchi <da...@gmail.com> on 2010/03/18 13:08:26 UTC
Info: move node into other workspace
Hi, i have a question:
It's possible work with 2 workspace both versionable into differenttable!?
Now in the config file .xml there are:
<Workspace name="currentYear">...</Workspace>
<Workspace name="otherYear">....</Workspace>
<Versioning rootPath="${rep.home}/version">...</Versioning>
If I want move one node with all its versions, I need of 2 Versioning
DataBase...
One versioning database to one workspace
example:
currentYear --> Node: expense
* 1.0
* 1.1
* 1.2
when I move the node into 'otherYear'..
otherYear--> Node: expense
* 1.0
* 1.1
* 1.2
It's possible!?
I don't want only one Versioning database because it will too size...
Thanks
Daniele
Re: Info: move node into other workspace
Posted by Justin Edelson <ju...@gmail.com>.
This isn't possible in Jackrabbit AFAIK. From the Jackrabbit
Configuration guide:
> The version histories of all versionable nodes are stored in a
> repository-wide version store configured in the Versioning element of
> the repository configuration.
Furthermore, what you are describing doesn't make any sense from a JCR
perspective - version history can span workspaces.
That said, if you were really concerned with the size of the version
database, you could write your own persistence manager to shard the data
in some way; just NOT by the workspace (or path) of the node.
Justin
On 3/18/10 8:08 AM, Daniele Cherchi wrote:
> Hi, i have a question:
> It's possible work with 2 workspace both versionable into differenttable!?
> Now in the config file .xml there are:
>
> <Workspace name="currentYear">...</Workspace>
>
> <Workspace name="otherYear">....</Workspace>
>
> <Versioning rootPath="${rep.home}/version">...</Versioning>
>
> If I want move one node with all its versions, I need of 2 Versioning
> DataBase...
> One versioning database to one workspace
>
> example:
>
> currentYear --> Node: expense
>
> * 1.0
> * 1.1
> * 1.2
>
> when I move the node into 'otherYear'..
>
> otherYear--> Node: expense
> * 1.0
> * 1.1
> * 1.2
>
>
> It's possible!?
>
> I don't want only one Versioning database because it will too size...
>
> Thanks
> Daniele
>
>
>