public interface JpaQuery<X>
extends javax.persistence.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.
|
DatabaseQuery getDatabaseQuery()
JpaEntityManager getEntityManager()
java.util.Collection getResultCollection()
Cursor getResultCursor()
void setDatabaseQuery(DatabaseQuery query)