java.lang.Object
io.ebeaninternal.api.LoadRequest
- Direct Known Subclasses:
LoadBeanRequest,LoadManyRequest
Request for loading Associated One Beans.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final OrmQueryRequest<?> protected final Transaction -
Method Summary
Modifier and TypeMethodDescriptionabstract Class<?> beanType()Return the associated bean type for this load request.booleanisLazy()Return true if this is a lazy load and false if it is a secondary query.booleanReturn true if the parent query is a findIterate() type query.Return the transaction to use if this is a secondary query.
-
Field Details
-
parentRequest
-
transaction
-
lazy
protected final boolean lazy
-
-
Method Details
-
beanType
Return the associated bean type for this load request. -
isLazy
public boolean isLazy()Return true if this is a lazy load and false if it is a secondary query. -
transaction
Return the transaction to use if this is a secondary query.Lazy loading queries run in their own transaction.
-
isParentFindIterate
public boolean isParentFindIterate()Return true if the parent query is a findIterate() type query. So one of - findIterate(), findEach(), findEachWhile() or findVisit().
-