My model has nodes with jcr:created and an optional nen:updated
property, if a node is updated after creation. I'd like to sort on
nen:updated, but if that property is not present, sort on the
jcr:created property.

I've tried

... order by @nen:updated, @jcr:created

in my xpath queries, but it doesn't seem to work as expected. Is such
fallback for non-existant properties not supported, or is it only
supported for sql queries? Am using jackrabbit 2.3.5.


-- 
-Tor

Reply via email to