public void testRightOuterJoin1() throws RepositoryException {
JoinCondition c = qomFactory.equiJoinCondition(
LEFT, propertyName1, RIGHT, propertyName2);
QueryObjectModel qom = createQuery(JOIN_TYPE_RIGHT_OUTER, c);
checkResult(qom.execute(), new Node[][]{{null, n1}, {n1, n2}, {n2, n2}});
}
public void testRightOuterJoin2() throws RepositoryException {
JoinCondition c = qomFactory.equiJoinCondition(
LEFT, propertyName2, RIGHT, propertyName1);