Uses of Interface
org.apache.openjpa.persistence.OpenJPAQuery
-
Uses of OpenJPAQuery in org.apache.openjpa.persistence
Modifier and TypeClassDescriptionclass
An abstract implementation of the Query interface.class
QueryImpl<X>
Implementation ofQuery
interface.Modifier and TypeMethodDescriptionOpenJPAQuery.addAggregateListener
(AggregateListener listener) Deprecated.OpenJPAQuerySPI.addAggregateListener
(AggregateListener listener) Register an aggregate listener for the query.QueryImpl.addAggregateListener
(AggregateListener listener) OpenJPAQuery.addFilterListener
(FilterListener listener) Deprecated.cast toQueryImpl
instead.OpenJPAQuerySPI.addFilterListener
(FilterListener listener) Register a filter listener for the query.QueryImpl.addFilterListener
(FilterListener listener) static OpenJPAQuery
OpenJPAPersistence.cast
(jakarta.persistence.Query q) Return the OpenJPA facade to the given query.OpenJPAQuery.closeAll()
Close all open query results.QueryImpl.closeAll()
OpenJPAQuery.compile()
Compile the query.QueryImpl.compile()
EntityManagerImpl.createDynamicQuery
(QueryDefinition qdef) OpenJPAEntityManager.createDynamicQuery
(QueryDefinition dynamic) Create an executable query from a dynamically defined query.EntityManagerImpl.createNamedQuery
(String name) OpenJPAEntityManager.createNamedQuery
(String name) EntityManagerImpl.createNativeQuery
(String query) EntityManagerImpl.createNativeQuery
(String query, Class cls) EntityManagerImpl.createNativeQuery
(String query, String mappingName) OpenJPAEntityManager.createNativeQuery
(String sql) OpenJPAEntityManager.createNativeQuery
(String sql, Class resultClass) OpenJPAEntityManager.createNativeQuery
(String sql, String resultMapping) EntityManagerImpl.createQuery
(jakarta.persistence.Query query) EntityManagerImpl.createQuery
(String query) EntityManagerImpl.createQuery
(String language, String query) OpenJPAEntityManager.createQuery
(jakarta.persistence.Query query) Create a new query from the given one.OpenJPAEntityManager.createQuery
(String query) OpenJPAEntityManager.createQuery
(String language, String query) Create a new query in the given language.OpenJPAQuery<?>
StoredProcedureQueryImpl.getDelegate()
Gets the facade delegate that manages bind parameters on behalf of this receiver.OpenJPAQuery.removeAggregateListener
(AggregateListener listener) Deprecated.cast toQueryImpl
instead.OpenJPAQuerySPI.removeAggregateListener
(AggregateListener listener) Remove an aggregate listener from the query.QueryImpl.removeAggregateListener
(AggregateListener listener) OpenJPAQuery.removeFilterListener
(FilterListener listener) Deprecated.cast toQueryImpl
instead.OpenJPAQuerySPI.removeFilterListener
(FilterListener listener) Remove a filter listener from the query.QueryImpl.removeFilterListener
(FilterListener listener) OpenJPAQuery.setCandidateCollection
(Collection coll) Set a collection of candidates.QueryImpl.setCandidateCollection
(Collection coll) OpenJPAQuery.setFirstResult
(int startPosition) QueryImpl.setFirstResult
(int startPosition) OpenJPAQuery.setFlushMode
(jakarta.persistence.FlushModeType flushMode) QueryImpl.setFlushMode
(jakarta.persistence.FlushModeType flushMode) OpenJPAQuery.setIgnoreChanges
(boolean ignore) Whether to ignore changes in the current transaction.QueryImpl.setIgnoreChanges
(boolean ignore) OpenJPAQuery.setMaxResults
(int maxResult) QueryImpl.setMaxResults
(int max) AbstractQuery.setParameter
(int pos, Object value) Binds the parameter identified by the given position to the given value.AbstractQuery.setParameter
(int position, Calendar value, jakarta.persistence.TemporalType t) Sets the value of the given positional parameter after conversion of the given value to the given Temporal Type.AbstractQuery.setParameter
(int position, Date value, jakarta.persistence.TemporalType type) Sets the value of the given named parameter after conversion of the given value to the given Temporal Type.AbstractQuery.setParameter
(jakarta.persistence.Parameter<Date> p, Date date, jakarta.persistence.TemporalType type) <T> OpenJPAQuery<X>
AbstractQuery.setParameter
(jakarta.persistence.Parameter<T> p, T arg1) AbstractQuery.setParameter
(String name, Object value) Sets the parameter of the given name to the given value.AbstractQuery.setParameter
(String name, Calendar value, jakarta.persistence.TemporalType type) AbstractQuery.setParameter
(String name, Date value, jakarta.persistence.TemporalType type) OpenJPAQuery.setParameter
(int position, Object value) OpenJPAQuery.setParameter
(int position, Calendar value, jakarta.persistence.TemporalType temporalType) OpenJPAQuery.setParameter
(int position, Date value, jakarta.persistence.TemporalType temporalType) OpenJPAQuery.setParameter
(String name, Object value) OpenJPAQuery.setParameter
(String name, Calendar value, jakarta.persistence.TemporalType temporalType) OpenJPAQuery.setParameter
(String name, Date value, jakarta.persistence.TemporalType temporalType) AbstractQuery.setParameters
(Object... params) Binds the given values as positional parameters.AbstractQuery.setParameters
(Map params) Sets the values of the parameters from the given Map.OpenJPAQuery.setParameters
(Object... params) Set parameters.OpenJPAQuery.setParameters
(Map params) Set parameters.OpenJPAQuery.setResultClass
(Class type) Query result element type.QueryImpl.setResultClass
(Class cls) OpenJPAQuery.setSubclasses
(boolean subs) Whether subclasses are included in the query results.QueryImpl.setSubclasses
(boolean subs)
QueryImpl
instead.