#1181 - ENH: Add @FetchPreference support - Secondary query generation is based on order of fetch statements

This commit is contained in:
Rob Bygrave
2017-11-08 23:19:58 +13:00
parent 9b2b2f7787
commit 156f505394
11 changed files with 123 additions and 11 deletions
@@ -41,8 +41,10 @@ public final class BeanFkeyProperty implements ElPropertyValue {
return false;
}
public int getDeployOrder() {
return deployOrder;
@Override
public int getFetchPreference() {
// return some decently high value
return 1000;
}
private String calcPlaceHolder(String prefix, String dbColumn) {