public abstract class JpaQueryFactoryBase extends java.lang.Object implements JpaQueryFactory
| Modifier and Type | Field and Description |
|---|---|
protected ComputedAttributeRegistryImpl |
computedAttrs |
protected javax.persistence.EntityManager |
em |
protected io.crnk.meta.MetaLookup |
metaLookup |
| Constructor and Description |
|---|
JpaQueryFactoryBase() |
| Modifier and Type | Method and Description |
|---|---|
ComputedAttributeRegistry |
getComputedAttributes() |
javax.persistence.EntityManager |
getEntityManager() |
void |
initalize(JpaQueryFactoryContext context)
Called by the JPA module ones initalized.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitquery, queryprotected javax.persistence.EntityManager em
protected ComputedAttributeRegistryImpl computedAttrs
protected io.crnk.meta.MetaLookup metaLookup
public void initalize(JpaQueryFactoryContext context)
JpaQueryFactoryinitalize in interface JpaQueryFactorycontext - to access entityManager, meta-data, etc.public javax.persistence.EntityManager getEntityManager()
public ComputedAttributeRegistry getComputedAttributes()
getComputedAttributes in interface JpaQueryFactory