public class JpaCriteriaQueryFactory extends JpaQueryFactoryBase implements JpaQueryFactory
computedAttrs, em, metaLookup| Modifier and Type | Method and Description |
|---|---|
static JpaCriteriaQueryFactory |
newInstance() |
<T> JpaCriteriaQuery<T> |
query(java.lang.Class<?> entityClass,
java.lang.String attrName,
java.util.List<?> entityIds)
Builds a new query for the given attribute.
|
<T> JpaCriteriaQuery<T> |
query(java.lang.Class<T> entityClass)
Builds a new query for the given entity class.
|
void |
registerComputedAttribute(java.lang.Class<?> targetClass,
java.lang.String attributeName,
java.lang.reflect.Type attributeType,
JpaCriteriaExpressionFactory<?> expressionFactory) |
getComputedAttributes, getEntityManager, initalizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComputedAttributes, initalizepublic static JpaCriteriaQueryFactory newInstance()
public <T> JpaCriteriaQuery<T> query(java.lang.Class<T> entityClass)
JpaQueryFactoryquery in interface JpaQueryFactoryT - entityentityClass - to querypublic <T> JpaCriteriaQuery<T> query(java.lang.Class<?> entityClass, java.lang.String attrName, java.util.List<?> entityIds)
JpaQueryFactoryquery in interface JpaQueryFactoryT - parent entityentityClass - to fetch children fromattrName - on parent entityentityIds - to retrieve the children frompublic void registerComputedAttribute(java.lang.Class<?> targetClass,
java.lang.String attributeName,
java.lang.reflect.Type attributeType,
JpaCriteriaExpressionFactory<?> expressionFactory)