Hi, On Mon, Mar 9, 2009 at 5:42 PM, Marian Schedenig (qs) <[email protected]> wrote: > I'm trying to implement dependencies between resources ("files") in my JCR, > more or less resembling a directed graph. Each file can have a number of > dependency subnodes which contain the path of a resource the property owner > depends on. This resource does not have to exist at the time the dependency > is set, but if it does, a reverseDependency subnode should automatically be > created on it pointing back to the resource containing the dependency node.
Do you actually need to have these "reverseDependency" nodes? A query for "all nodes with a dependency to this node" might give you the same functionality. BR, Jukka Zitting
