You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Marcel Reutegger <ma...@gmx.net> on 2005/05/10 10:31:51 UTC

Re: Getting Node Path inside PersistenceManager

Hi Jan,

Jan Metzner wrote:
> hi stefan,
> On 4/27/05, Stefan Guggisberg <st...@gmail.com> wrote:
> 
>>you don't need the path in order to persist an item. the path
> 
> normally not, but i like to save the items on a location similar to
> the path in the repository.
> is there any chance to do this?

As Stefan already mentioned, the persistence managers *must not* use
path information by design when storing / loading items. The reason
behind that is, that the path of an item can change even though the item
itself is not modified. e.g. if a node is moved, none of the descendant
items is modified, but after save they will all have a different path.

regards
  marcel