diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/amazon/carbonado/qe/IndexedQueryAnalyzer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/amazon/carbonado/qe/IndexedQueryAnalyzer.java b/src/main/java/com/amazon/carbonado/qe/IndexedQueryAnalyzer.java index 73837a0..ac9952f 100644 --- a/src/main/java/com/amazon/carbonado/qe/IndexedQueryAnalyzer.java +++ b/src/main/java/com/amazon/carbonado/qe/IndexedQueryAnalyzer.java @@ -250,7 +250,7 @@ public class IndexedQueryAnalyzer<S extends Storable> { Filter<?> filter = Filter.getOpenFilter((Class<? extends Storable>) property.getType());
int count = property.getJoinElementCount();
for (int i=0; i<count; i++) {
- filter = filter.and(property.getInternalJoinElement(i).getName(), RelOp.EQ);
+ filter = filter.and(property.getExternalJoinElement(i).getName(), RelOp.EQ);
}
// Java generics are letting me down. I cannot use proper specification
|