Uses of Interface
org.apache.openjpa.kernel.Query
Package
Description
OpenJPA Data Cache
OpenJPA-JDBC Runtime Kernel
OpenJPA Runtime Kernel
OpenJPA Metadata
OpenJPA JPA
OpenJPA Dynamic Query
Extended OpenJPA Interfaces for distributed databases.
-
Uses of Query in org.apache.openjpa.datacache
Modifier and TypeMethodDescriptionstatic QueryKey
QueryKey.newInstance
(Query q) Return a key for the given query, or null if it is not cacheable.static QueryKey
QueryKey.newInstance
(Query q, Object[] args) Return a key for the given query, or null if it is not cacheable.static QueryKey
QueryKey.newInstance
(Query q, Map<Object, Object> args) Return a key for the given query, or null if it is not cacheable. -
Uses of Query in org.apache.openjpa.jdbc.kernel
Modifier and TypeMethodDescriptionPreparedQueryCacheImpl.register
(String id, Query query, FetchConfiguration hints) void
Pours the post-compilation state held by this receiver to the given query.ModifierConstructorDescriptionPreparedQueryImpl
(String id, String sql, Query compiled) Construct.PreparedQueryImpl
(String id, Query compiled) Construct. -
Uses of Query in org.apache.openjpa.kernel
Modifier and TypeClassDescriptionclass
Delegating query that can also perform exception translation for use in facades.class
Implementation of theQuery
interface.Modifier and TypeMethodDescriptionDelegatingQuery.getDelegate()
Return the direct delegate.DelegatingQuery.getInnermostDelegate()
Return the native delegate.DelegatingQuery.getQuery()
QueryContext.getQuery()
Return the query for this context.QueryImpl.getQuery()
Create a new query from the given data, with the given candidate class and language.Create a new query in the given language.Modifier and TypeMethodDescriptionPreparedQueryCache.register
(String key, Query query, FetchConfiguration hints) Register the given query for caching against the given key if it has not already been cached.void
Fill in the post-compilation state of the given Query.ModifierConstructorDescriptionDelegatingQuery
(Query query) Constructor; supply delegate.DelegatingQuery
(Query query, RuntimeExceptionTranslator trans) Constructor; supply delegate and exception translator. -
Uses of Query in org.apache.openjpa.meta
-
Uses of Query in org.apache.openjpa.persistence
Modifier and TypeMethodDescriptionQueryImpl.getDelegate()
Delegate.StoredProcedureQueryImpl.getExecutableQuery()
Gets the kernel delegate that is handles actual execution on behalf of this receiver.Modifier and TypeMethodDescriptionprotected <T> QueryImpl<T>
EntityManagerImpl.newQueryImpl
(Query kernelQuery) protected <T> QueryImpl<T>
EntityManagerImpl.newQueryImpl
(Query kernelQuery, QueryMetaData qmd) ModifierConstructorDescriptionQueryImpl
(EntityManagerImpl em, Query query) Deprecated.QueryImpl
(EntityManagerImpl em, RuntimeExceptionTranslator ret, Query query) Deprecated.QueryImpl
(EntityManagerImpl em, RuntimeExceptionTranslator ret, Query query, QueryMetaData qmd) Constructor; supply factory exception translator and delegate. -
Uses of Query in org.apache.openjpa.persistence.query
Modifier and TypeMethodDescriptionOpenJPAQueryBuilder.createQueryDefinition
(Query jpql) Create a QueryDefinition from the given OpenJPA Query instance.QueryBuilderImpl.createQueryDefinition
(Query jpql) -
Uses of Query in org.apache.openjpa.slice