jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Avila <pav...@git.es>
Subject Re: error in node.save() don't cancel child added node
Date Fri, 04 Aug 2006 09:48:41 GMT
El vie, 04-08-2006 a las 09:54 +0200, Marcel Reutegger escribió:
> Paco Avila wrote:
> > ok, so I need to remove it manually. Thanks!
> 
> or better use Item.refresh(false) which is something like a revert on 
> that Item and its descendants.
> 
> See:
> http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/Item.html#refresh(boolean)
> 

Oh, thanks i was looking for something like this. I was reading the
specification and didn't see it. Id didn't know that refresh(false) was
a discard :)
-- 
Paco Avila <pavila@git.es>


Mime
View raw message