public interface JpaQuery<X> extends TypedQuery<X>
Modifier and Type | Method and Description |
---|---|
DatabaseQuery |
getDatabaseQuery()
PUBLIC:
Return the cached database query for this query.
|
JpaEntityManager |
getEntityManager()
PUBLIC:
return the EntityManager for this query
|
java.util.Collection |
getResultCollection()
PUBLIC:
Non-standard method to return results of a ReadQuery that has a containerPolicy
that returns objects as a collection rather than a List
|
Cursor |
getResultCursor()
PUBLIC:
Non-standard method to return results of a ReadQuery that uses a Cursor.
|
void |
setDatabaseQuery(DatabaseQuery query)
PUBLIC:
Replace the cached query with the given query.
|
getResultList, getSingleResult, setFirstResult, setFlushMode, setHint, setLockMode, setMaxResults, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter
executeUpdate, getFirstResult, getFlushMode, getHints, getLockMode, getMaxResults, getParameter, getParameter, getParameter, getParameter, getParameters, getParameterValue, getParameterValue, getParameterValue, isBound, unwrap
DatabaseQuery getDatabaseQuery()
JpaEntityManager getEntityManager()
java.util.Collection getResultCollection()
Cursor getResultCursor()
void setDatabaseQuery(DatabaseQuery query)