jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: import changes jcr:created
Date Thu, 24 Jun 2010 14:15:21 GMT
On Thu, Jun 24, 2010 at 16:02, bruno coelho <bruno.coelho@gmail.com> wrote:
> When testing code to do backups of my repository I noticed that the
> jcr:created property of a node is changed
> when I do a backup and then import the same node.
> ...
> is this supposed to happen?

I think this is according to the spec. "jcr:created" is when this node
was locally created. It is always done by the repository
automatically, independently if this is an import or normal node
creation.

To be on the safe side, you have to use your own created date property.

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message