Somehow it seems like I shouldn't have so much trouble with this…

I have a property on a node that is type Boolean.

How do I query for nodes where it's true?


Something like, when adding to my constraints:

constraint = qf.and(constraint, qf.comparison(SELECTOR_NAME, 
"isMoodAnnotated",QueryObjectModelFactory.JCR_OPERATOR_EQUAL_TO, false);


(obviously this code doesn't work)


Rob

Reply via email to