Add query.apply(PathProperties)

This commit is contained in:
Rob Bygrave committed 2014-11-12 22:24:37 +13:00
1 parent eaee3a9c02
commit 2ec50d2c71
6 files changed
+44 -16

No files matched your search

@@ -31,6 +31,7 @@ import com.avaje.ebean.bean.ObjectGraphNode;
import com.avaje.ebean.bean.ObjectGraphOrigin;
import com.avaje.ebean.bean.PersistenceContext;
import com.avaje.ebean.event.BeanQueryRequest;
import com.avaje.ebean.text.PathProperties;
import com.avaje.ebeaninternal.api.BindParams;
import com.avaje.ebeaninternal.api.HashQuery;
import com.avaje.ebeaninternal.api.HashQueryPlan;
@@ -270,6 +271,12 @@ public class DefaultOrmQuery<T> implements SpiQuery<T> {
this.totalHits = totalHits;
}
@Override
public Query<T> apply(PathProperties pathProperties) {
pathProperties.apply(this);
return this;
}
/**
* Set the BeanDescriptor for the root type of this query.
*/