Sorry, in my previous email, qf is type QueryObjectModelFactory
constraint is the constraint that I'm building. Rob On Jun 30, 2012, at 10:33 PM, Robert A. Decker wrote: > 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
