Package | Description |
---|---|
org.apache.openjpa.persistence |
OpenJPA JPA
This package provides an JPA facade to OpenJPA.
|
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> |
OpenJPAQuerySPI.addAggregateListener(AggregateListener listener)
Register an aggregate listener for the query.
|
OpenJPAQuery<X> |
QueryImpl.addAggregateListener(AggregateListener listener) |
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> |
OpenJPAQuerySPI.addFilterListener(FilterListener listener)
Register a filter listener for the query.
|
OpenJPAQuery<X> |
QueryImpl.addFilterListener(FilterListener listener) |
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(javax.persistence.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 |
EntityManagerImpl.createDynamicQuery(QueryDefinition qdef) |
OpenJPAQuery |
OpenJPAEntityManager.createDynamicQuery(QueryDefinition dynamic)
Create an executable query from a dynamically defined query.
|
OpenJPAQuery |
EntityManagerImpl.createNamedQuery(String name) |
OpenJPAQuery |
OpenJPAEntityManager.createNamedQuery(String name) |
OpenJPAQuery |
EntityManagerImpl.createNativeQuery(String query) |
OpenJPAQuery |
OpenJPAEntityManager.createNativeQuery(String sql) |
OpenJPAQuery |
EntityManagerImpl.createNativeQuery(String query,
Class cls) |
OpenJPAQuery |
OpenJPAEntityManager.createNativeQuery(String sql,
Class resultClass) |
OpenJPAQuery |
EntityManagerImpl.createNativeQuery(String query,
String mappingName) |
OpenJPAQuery |
OpenJPAEntityManager.createNativeQuery(String sql,
String resultMapping) |
OpenJPAQuery |
EntityManagerImpl.createQuery(javax.persistence.Query query) |
OpenJPAQuery |
OpenJPAEntityManager.createQuery(javax.persistence.Query query)
Create a new query from the given one.
|
OpenJPAQuery |
EntityManagerImpl.createQuery(String query) |
OpenJPAQuery |
OpenJPAEntityManager.createQuery(String query) |
OpenJPAQuery |
EntityManagerImpl.createQuery(String language,
String query) |
OpenJPAQuery |
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<X> |
OpenJPAQuerySPI.removeAggregateListener(AggregateListener listener)
Remove an aggregate listener from the query.
|
OpenJPAQuery<X> |
QueryImpl.removeAggregateListener(AggregateListener listener) |
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> |
OpenJPAQuerySPI.removeFilterListener(FilterListener listener)
Remove a filter listener from the query.
|
OpenJPAQuery<X> |
QueryImpl.removeFilterListener(FilterListener listener) |
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(javax.persistence.FlushModeType flushMode) |
OpenJPAQuery<X> |
OpenJPAQuery.setFlushMode(javax.persistence.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> |
AbstractQuery.setParameter(int position,
Calendar value,
javax.persistence.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,
Calendar value,
javax.persistence.TemporalType temporalType) |
OpenJPAQuery<X> |
AbstractQuery.setParameter(int position,
Date value,
javax.persistence.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,
Date value,
javax.persistence.TemporalType temporalType) |
OpenJPAQuery<X> |
AbstractQuery.setParameter(int pos,
Object value)
Binds the parameter identified by the given position to the given value.
|
OpenJPAQuery<X> |
OpenJPAQuery.setParameter(int position,
Object value) |
OpenJPAQuery<X> |
AbstractQuery.setParameter(javax.persistence.Parameter<Date> p,
Date date,
javax.persistence.TemporalType type) |
<T> OpenJPAQuery<X> |
AbstractQuery.setParameter(javax.persistence.Parameter<T> p,
T arg1) |
OpenJPAQuery<X> |
AbstractQuery.setParameter(String name,
Calendar value,
javax.persistence.TemporalType type) |
OpenJPAQuery<X> |
OpenJPAQuery.setParameter(String name,
Calendar value,
javax.persistence.TemporalType temporalType) |
OpenJPAQuery<X> |
AbstractQuery.setParameter(String name,
Date value,
javax.persistence.TemporalType type) |
OpenJPAQuery<X> |
OpenJPAQuery.setParameter(String name,
Date value,
javax.persistence.TemporalType temporalType) |
OpenJPAQuery<X> |
AbstractQuery.setParameter(String name,
Object value)
Sets the parameter of the given name to the given value.
|
OpenJPAQuery<X> |
OpenJPAQuery.setParameter(String name,
Object value) |
OpenJPAQuery<X> |
AbstractQuery.setParameters(Map params)
Sets the values of the parameters from the given Map.
|
OpenJPAQuery<X> |
OpenJPAQuery.setParameters(Map params)
Set parameters.
|
OpenJPAQuery<X> |
AbstractQuery.setParameters(Object... params)
Binds the given values as positional parameters.
|
OpenJPAQuery<X> |
OpenJPAQuery.setParameters(Object... params)
Set 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–2019 Apache Software Foundation. All rights reserved.