No effective change - code cleanup - BeanPropertyOverride - unused override of sql formula

This commit is contained in:
Robin Bygrave committed 2015-08-01 17:21:09 +12:00
1 parent a27433dc11
commit 0c9bcca584
2 files changed
+14 -31

No files matched your search

@@ -322,9 +322,10 @@ public class BeanProperty implements ElPropertyValue {
this.indexed = source.isIndexed();
this.indexName = source.getIndexName();
this.dbColumn = InternString.intern(override.getDbColumn());
this.sqlFormulaJoin = InternString.intern(override.getSqlFormulaJoin());
this.sqlFormulaSelect = InternString.intern(override.getSqlFormulaSelect());
this.formula = sqlFormulaSelect != null;
// override with sqlFormula not currently supported
this.sqlFormulaJoin = null;
this.sqlFormulaSelect = null;
this.formula = false;
this.excludedFromHistory = source.excludedFromHistory;
this.fetchEager = source.fetchEager;