}
public void testQualifyOnToMany() {
DataContext context = createDataContext();
ReflexiveAndToOne ox = context
.newObject(ReflexiveAndToOne.class);
ox.setName("ox");
ReflexiveAndToOne o1 = context
.newObject(ReflexiveAndToOne.class);
o1.setName("o1");
ReflexiveAndToOne o2 = context
.newObject(ReflexiveAndToOne.class);
o2.setName("o2");
o2.setToParent(o1);
context.commitChanges();
Expression qualifier = ExpressionFactory.matchExp("children", o2);
List parents = context.performQuery(new SelectQuery(