jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Getting Node Path inside PersistenceManager
Date Tue, 10 May 2005 08:31:51 GMT
Hi Jan,

Jan Metzner wrote:
> hi stefan,
> On 4/27/05, Stefan Guggisberg <stefan.guggisberg@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


Mime
View raw message