public interface JpaQueryFactory
| Modifier and Type | Method and Description |
|---|---|
ComputedAttributeRegistry |
getComputedAttributes() |
void |
initalize(JpaQueryFactoryContext context)
Called by the JPA module ones initalized.
|
<T> JpaQuery<T> |
query(java.lang.Class<?> parentEntityClass,
java.lang.String childrenAttrName,
java.util.List<?> parentIds)
Builds a new query for the given attribute.
|
<T> JpaQuery<T> |
query(java.lang.Class<T> entityClass)
Builds a new query for the given entity class.
|
void initalize(JpaQueryFactoryContext context)
context - to access entityManager, meta-data, etc.<T> JpaQuery<T> query(java.lang.Class<T> entityClass)
T - entityentityClass - to query<T> JpaQuery<T> query(java.lang.Class<?> parentEntityClass, java.lang.String childrenAttrName, java.util.List<?> parentIds)
T - parent entityparentEntityClass - to fetch children fromchildrenAttrName - on parent entityparentIds - to retrieve the children fromComputedAttributeRegistry getComputedAttributes()