|
EclipseLink 2.1.2, build 'v20101206-r8635' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JpaQuery<X>
PUBLIC: EclipseLInk specific JPA query interface. Provides the functionality defined in javax.persistence.Query and adds access to the underlying database query for EclipseLink specific functionality.
Method Summary | |
---|---|
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. |
Methods inherited from interface javax.persistence.TypedQuery |
---|
getResultList, getSingleResult, setFirstResult, setFlushMode, setHint, setLockMode, setMaxResults, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter |
Methods inherited from interface javax.persistence.Query |
---|
executeUpdate, getFirstResult, getFlushMode, getHints, getLockMode, getMaxResults, getParameter, getParameter, getParameter, getParameter, getParameters, getParameterValue, getParameterValue, getParameterValue, isBound, unwrap |
Method Detail |
---|
DatabaseQuery getDatabaseQuery()
JpaEntityManager getEntityManager()
java.util.Collection getResultCollection()
Cursor getResultCursor()
void setDatabaseQuery(DatabaseQuery query)
|
EclipseLink 2.1.2, build 'v20101206-r8635' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |