diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2006-10-19 23:21:24 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2006-10-19 23:21:24 +0000 |
commit | c1c1738d5d73aff9a4964fb9d5e91dd947291a63 (patch) | |
tree | 2ef09f2ddd9a8365cb4f2272115d2483aeefce96 /src | |
parent | c640462b91116f12b7a364f9559cd32fbcb7d07b (diff) |
Use proper side of join.
Diffstat (limited to 'src')
-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
|