public void testInnerJoin2() throws RepositoryException {
JoinCondition c = qf.equiJoinCondition(
LEFT, propertyName2, RIGHT, propertyName1);
QueryObjectModel qom = createQuery(QueryObjectModelConstants.JCR_JOIN_TYPE_INNER, c);
checkResult(qom.execute(), new Node[][]{{n2, n1}, {n2, n2}});
}
public void testRightOuterJoin1() throws RepositoryException {
JoinCondition c = qf.equiJoinCondition(
LEFT, propertyName1, RIGHT, propertyName2);