jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: XPath on data prior to saving
Date Mon, 03 Mar 2008 08:16:23 GMT
Hi Chris,

Chris Schmidt wrote:
> As another alternative, could I use versioning to effectively rollback the 
> changes?  If that isn't an abuse of versioning, what would happen if a node
> is new?  Perhaps changing to a previous version of the parent node would be
> more correct, since that would take care of the case where the node is newly
> created, right?

versioning come at a cost and you should only use it when necessary. I don't 
think your use case justifies that. Furthermore you will have to take care of 
cleaning up the version storage, since the created versions are of no use after 
the overall operation completed.

regards
  marcel

Mime
View raw message