Package | Description |
---|---|
org.apache.openjpa.persistence |
OpenJPA JPA
|
Modifier and Type | Interface and Description |
---|---|
interface |
OpenJPAQuerySPI<X> |
Modifier and Type | Class and Description |
---|---|
class |
AbstractQuery<X>
An abstract implementation of the Query interface.
|
class |
QueryImpl<X>
Implementation of
Query interface. |
Modifier and Type | Method and Description |
---|---|
OpenJPAQuery<X> |
QueryImpl.addAggregateListener(AggregateListener listener) |
OpenJPAQuery<X> |
OpenJPAQuerySPI.addAggregateListener(AggregateListener listener)
Register an aggregate listener for the query.
|
OpenJPAQuery<X> |
OpenJPAQuery.addAggregateListener(AggregateListener listener)
Deprecated.
cast to
QueryImpl instead. This
method pierces the published-API boundary, as does the SPI cast. |
OpenJPAQuery<X> |
QueryImpl.addFilterListener(FilterListener listener) |
OpenJPAQuery<X> |
OpenJPAQuerySPI.addFilterListener(FilterListener listener)
Register a filter listener for the query.
|
OpenJPAQuery<X> |
OpenJPAQuery.addFilterListener(FilterListener listener)
Deprecated.
cast to
QueryImpl instead. This
method pierces the published-API boundary, as does the SPI cast. |
static OpenJPAQuery |
OpenJPAPersistence.cast(Query q)
Return the OpenJPA facade to the given query.
|
OpenJPAQuery<X> |
QueryImpl.closeAll() |
OpenJPAQuery<X> |
OpenJPAQuery.closeAll()
Close all open query results.
|
OpenJPAQuery<X> |
QueryImpl.compile() |
OpenJPAQuery<X> |
OpenJPAQuery.compile()
Compile the query.
|
OpenJPAQuery |
OpenJPAEntityManager.createDynamicQuery(QueryDefinition dynamic)
Create an executable query from a dynamically defined query.
|
OpenJPAQuery |
EntityManagerImpl.createDynamicQuery(QueryDefinition qdef) |
OpenJPAQuery |
OpenJPAEntityManager.createNamedQuery(String name) |
OpenJPAQuery |
EntityManagerImpl.createNamedQuery(String name) |
OpenJPAQuery |
OpenJPAEntityManager.createNativeQuery(String sql) |
OpenJPAQuery |
EntityManagerImpl.createNativeQuery(String query) |
OpenJPAQuery |
OpenJPAEntityManager.createNativeQuery(String sql,
Class resultClass) |
OpenJPAQuery |
EntityManagerImpl.createNativeQuery(String query,
Class cls) |
OpenJPAQuery |
OpenJPAEntityManager.createNativeQuery(String sql,
String resultMapping) |
OpenJPAQuery |
EntityManagerImpl.createNativeQuery(String query,
String mappingName) |
OpenJPAQuery |
OpenJPAEntityManager.createQuery(Query query)
Create a new query from the given one.
|
OpenJPAQuery |
EntityManagerImpl.createQuery(Query query) |
OpenJPAQuery |
OpenJPAEntityManager.createQuery(String query) |
OpenJPAQuery |
EntityManagerImpl.createQuery(String query) |
OpenJPAQuery |
OpenJPAEntityManager.createQuery(String language,
String query)
Create a new query in the given language.
|
OpenJPAQuery |
EntityManagerImpl.createQuery(String language,
String query) |
OpenJPAQuery<X> |
QueryImpl.removeAggregateListener(AggregateListener listener) |
OpenJPAQuery<X> |
OpenJPAQuerySPI.removeAggregateListener(AggregateListener listener)
Remove an aggregate listener from the query.
|
OpenJPAQuery<X> |
OpenJPAQuery.removeAggregateListener(AggregateListener listener)
Deprecated.
cast to
QueryImpl instead. This
method pierces the published-API boundary, as does the SPI cast. |
OpenJPAQuery<X> |
QueryImpl.removeFilterListener(FilterListener listener) |
OpenJPAQuery<X> |
OpenJPAQuerySPI.removeFilterListener(FilterListener listener)
Remove a filter listener from the query.
|
OpenJPAQuery<X> |
OpenJPAQuery.removeFilterListener(FilterListener listener)
Deprecated.
cast to
QueryImpl instead. This
method pierces the published-API boundary, as does the SPI cast. |
OpenJPAQuery<X> |
QueryImpl.setCandidateCollection(Collection coll) |
OpenJPAQuery<X> |
OpenJPAQuery.setCandidateCollection(Collection coll)
Set a collection of candidates.
|
OpenJPAQuery<X> |
QueryImpl.setFirstResult(int startPosition) |
OpenJPAQuery<X> |
OpenJPAQuery.setFirstResult(int startPosition) |
OpenJPAQuery<X> |
QueryImpl.setFlushMode(FlushModeType flushMode) |
OpenJPAQuery<X> |
OpenJPAQuery.setFlushMode(FlushModeType flushMode) |
OpenJPAQuery<X> |
QueryImpl.setHint(String key,
Object value) |
OpenJPAQuery<X> |
OpenJPAQuery.setHint(String hintName,
Object value) |
OpenJPAQuery<X> |
QueryImpl.setIgnoreChanges(boolean ignore) |
OpenJPAQuery<X> |
OpenJPAQuery.setIgnoreChanges(boolean ignore)
Whether to ignore changes in the current transaction.
|
OpenJPAQuery<X> |
QueryImpl.setMaxResults(int max) |
OpenJPAQuery<X> |
OpenJPAQuery.setMaxResults(int maxResult) |
OpenJPAQuery<X> |
OpenJPAQuery.setParameter(int position,
Calendar value,
TemporalType temporalType) |
OpenJPAQuery<X> |
AbstractQuery.setParameter(int position,
Calendar value,
TemporalType t)
Sets the value of the given positional parameter after conversion of the given value to the given Temporal Type.
|
OpenJPAQuery<X> |
OpenJPAQuery.setParameter(int position,
Date value,
TemporalType temporalType) |
OpenJPAQuery<X> |
AbstractQuery.setParameter(int position,
Date value,
TemporalType type)
Sets the value of the given named parameter after conversion of the given value to the given Temporal Type.
|
OpenJPAQuery<X> |
OpenJPAQuery.setParameter(int position,
Object value) |
OpenJPAQuery<X> |
AbstractQuery.setParameter(int pos,
Object value)
Binds the parameter identified by the given position to the given value.
|
OpenJPAQuery<X> |
AbstractQuery.setParameter(Parameter<Date> p,
Date date,
TemporalType type) |
<T> OpenJPAQuery<X> |
AbstractQuery.setParameter(Parameter<T> p,
T arg1) |
OpenJPAQuery<X> |
OpenJPAQuery.setParameter(String name,
Calendar value,
TemporalType temporalType) |
OpenJPAQuery<X> |
AbstractQuery.setParameter(String name,
Calendar value,
TemporalType type) |
OpenJPAQuery<X> |
OpenJPAQuery.setParameter(String name,
Date value,
TemporalType temporalType) |
OpenJPAQuery<X> |
AbstractQuery.setParameter(String name,
Date value,
TemporalType type) |
OpenJPAQuery<X> |
OpenJPAQuery.setParameter(String name,
Object value) |
OpenJPAQuery<X> |
AbstractQuery.setParameter(String name,
Object value)
Sets the parameter of the given name to the given value.
|
OpenJPAQuery<X> |
OpenJPAQuery.setParameters(Map params)
Set parameters.
|
OpenJPAQuery<X> |
AbstractQuery.setParameters(Map params)
Sets the values of the parameters from the given Map.
|
OpenJPAQuery<X> |
OpenJPAQuery.setParameters(Object... params)
Set parameters.
|
OpenJPAQuery<X> |
AbstractQuery.setParameters(Object... params)
Binds the given values as positional parameters.
|
OpenJPAQuery<X> |
QueryImpl.setResultClass(Class cls) |
OpenJPAQuery<X> |
OpenJPAQuery.setResultClass(Class type)
Query result element type.
|
OpenJPAQuery<X> |
QueryImpl.setSubclasses(boolean subs) |
OpenJPAQuery<X> |
OpenJPAQuery.setSubclasses(boolean subs)
Whether subclasses are included in the query results.
|
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.