public interface EJBQuery extends Query
Modifier and Type | Method and Description |
---|---|
DatabaseQuery |
getDatabaseQuery()
PUBLIC:
Return the cached database query for this EJBQueryImpl.
|
EntityManager |
getEntityManager()
PUBLIC:
return the EntityManager for this query
|
Collection |
getResultCollection()
PUBLIC:
Non-standard method to return results of a ReadQuery that has a containerPoliry
that returns objects as a collection rather than a List
|
void |
setDatabaseQuery(DatabaseQuery query)
PUBLIC:
Replace the cached query with the given query.
|
executeUpdate, getResultList, getSingleResult, setFirstResult, setFlushMode, setHint, setMaxResults, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter
DatabaseQuery getDatabaseQuery()
EntityManager getEntityManager()
Collection getResultCollection()
void setDatabaseQuery(DatabaseQuery query)
Copyright © 2021. All rights reserved.