Skip to content

Commit

Permalink
JCR-2852: Support multi-selector OR constraints in join queries
Browse files Browse the repository at this point in the history
Patch by Alex Parvulescu

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1080540 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
jukka committed Mar 11, 2011
1 parent 8ac05da commit 252b0cf
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,14 @@ public String toString() {
for (String selector : rightSelectors) {
builder.append(selector);
builder.append("=");
try {
builder.append(rightRow.getNode(selector));
} catch (RepositoryException e) {
builder.append(e.getMessage());
if(rightRow != null){
try {
builder.append(rightRow.getNode(selector));
} catch (RepositoryException e) {
builder.append(e.getMessage());
}
}else{
builder.append("null");
}
builder.append(" ");
}
Expand Down

0 comments on commit 252b0cf

Please sign in to comment.