jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torg...@pobox.com>
Subject Re: Determine if Node has been deleted
Date Thu, 09 Oct 2008 22:58:29 GMT

On 10 Oct 2008, at 01:17, Alexander Klimetschek wrote:

> If you use a REFERENCE property to reference your node, you won't be
> able to delete the target node unless all references to it have been
> resolved. This might be useful for certain applications, but for most
> applications it might be better to use soft references (storing the
> path and resolving the node in your application code).


Maybe a revision to the JCR standard might at some point adopt some  
convenience methods to make soft references a bit more transparent,  
doing the lookup implicit, throwing an exception if the node no longer  
exist?

-- 
Torgeir Veimo
torgeir@pobox.com





Mime
View raw message