jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Stupid question
Date Mon, 16 Jan 2006 08:21:01 GMT
Hi Ashley,

versions of a node are stored under /jcr:system/jcr:versionStorage

your query should be something like:

and @jcr:frozenPrimaryType='pl:attachment' and


Ashley Martens wrote:
> I'm trying to run a query that's returns all the versions of a node
> where a certain value exists. For example; 
> "/jcr:root/test-app/Attachments/*[@jcr:primaryType='nt:frozenNode'
> and @jcr:frozenPrimaryType='pl:attachment' and
> @pl:contactDate='2005-12-26']", which does not work. I can use
> "/jcr:root/test-app/Attachments/*[@jcr:primaryType='pl:attachment'
> and @pl:contactDate='2005-12-26']" to get the current version but it
> does not query all the versions of the node.
> Any ideas?

View raw message