Fix for issue 68 - findRowCount sql error when using a @Formula property in the where clause

This commit is contained in:
Rob Bygrave committed 2014-01-16 20:36:23 +13:00
1 parent 664f08fd6f
commit 73452a5f68
9 files changed
+119 -7

No files matched your search

@@ -63,6 +63,11 @@ public final class BeanFkeyProperty implements ElPropertyValue {
public boolean isDeployOnly() {
return true;
}
@Override
public boolean containsFormulaWithJoin() {
return false;
}
/**
* Returns false.
@@ -837,6 +837,12 @@ public class BeanProperty implements ElPropertyValue {
return false;
}
@Override
public boolean containsFormulaWithJoin() {
return formula && sqlFormulaJoin != null;
}
public boolean containsManySince(String sinceProperty) {
return containsMany();
}