#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
@@ -74,4 +74,10 @@ public interface ElPropertyDeploy {
* Return true if this is an aggregation property.
*/
boolean isAggregation();
/**
* Return the fetch preference. This can be used to control which ToMany relationship
* is left as a 'join' and which get converted to query join.
*/
int getFetchPreference();
}