Package | Description |
---|---|
org.apache.openjpa.jdbc.meta |
OpenJPA-JDBC ORM Metadata
This package extends the standard persistence metadata with
object-relational mapping information.
|
org.apache.openjpa.meta |
OpenJPA Metadata
This package provides an extendable framework for parsing and caching
persistence metadata.
|
org.apache.openjpa.persistence |
OpenJPA JPA
This package provides an JPA facade to OpenJPA.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MetaDataPlusMappingFactory.store(ClassMetaData[] metas,
QueryMetaData[] queries,
SequenceMetaData[] seqs,
int mode,
Map output) |
Modifier and Type | Class and Description |
---|---|
class |
MultiQueryMetaData
|
Modifier and Type | Method and Description |
---|---|
QueryMetaData |
MetaDataRepository.addQueryMetaData(Class<?> cls,
String name)
Add a new query metadata to the repository and return it.
|
QueryMetaData |
MetaDataRepository.addQueryMetaData(QueryMetaData meta) |
QueryMetaData |
MetaDataRepository.getCachedQueryMetaData(Class<?> cls,
String name) |
QueryMetaData |
MetaDataRepository.getCachedQueryMetaData(String name)
Return the cached query metadata for the given name.
|
QueryMetaData |
MultiQueryMetaData.getComponent(int i)
Gets the component metadata at the given part index.
|
QueryMetaData |
MetaDataRepository.getQueryMetaData(Class<?> cls,
String name,
ClassLoader envLoader,
boolean mustExist)
Return query metadata for the given class, name, and classloader.
|
QueryMetaData[] |
MetaDataRepository.getQueryMetaDatas()
Return the cached query metadata.
|
QueryMetaData |
MetaDataRepository.newQueryMetaData(Class<?> cls,
String name)
Create a new query metadata instance.
|
QueryMetaData |
MetaDataRepository.searchQueryMetaDataByName(String name)
Searches all cached query metadata by name.
|
Modifier and Type | Method and Description |
---|---|
List<QueryMetaData> |
MultiQueryMetaData.getComponents() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractCFMetaDataFactory.Serializer.addQueryMetaData(QueryMetaData meta)
Add a query meta data to the set to be serialized.
|
QueryMetaData |
MetaDataRepository.addQueryMetaData(QueryMetaData meta) |
protected abstract File |
AbstractCFMetaDataFactory.defaultSourceFile(QueryMetaData query,
Map clsNames)
Return a default file for the given query.
|
protected ClassMetaData |
AbstractCFMetaDataFactory.getDefiningMetaData(QueryMetaData query,
Map clsNames)
Return the metadata that defines the given query, if any.
|
boolean |
MetaDataRepository.removeQueryMetaData(QueryMetaData meta)
Remove the given query metadata from the repository.
|
boolean |
NoneMetaDataFactory.store(ClassMetaData[] metas,
QueryMetaData[] queries,
SequenceMetaData[] seqs,
int mode,
Map output) |
boolean |
DelegatingMetaDataFactory.store(ClassMetaData[] metas,
QueryMetaData[] queries,
SequenceMetaData[] seqs,
int mode,
Map output) |
boolean |
AbstractCFMetaDataFactory.store(ClassMetaData[] metas,
QueryMetaData[] queries,
SequenceMetaData[] seqs,
int mode,
Map<File,String> output) |
boolean |
AbstractMetaDataFactory.store(ClassMetaData[] metas,
QueryMetaData[] queries,
SequenceMetaData[] seqs,
int mode,
Map<File,String> output) |
boolean |
MetaDataFactory.store(ClassMetaData[] metas,
QueryMetaData[] queries,
SequenceMetaData[] seqs,
int mode,
Map<File,String> output)
Store the given metadata.
|
Modifier and Type | Field and Description |
---|---|
protected QueryMetaData |
AbstractQuery._qmd |
Modifier and Type | Method and Description |
---|---|
protected void |
AnnotationPersistenceMetaDataSerializer.addAnnotation(AnnotationBuilder ab,
QueryMetaData meta)
Add an annotation builder to list of builders for the specified
query metadata.
|
protected AnnotationBuilder |
AnnotationPersistenceMetaDataSerializer.addAnnotation(Class<? extends Annotation> annType,
QueryMetaData meta)
Creates an an annotation builder for the specified class metadata
and adds it to list of builders.
|
protected void |
AnnotationPersistenceMetaDataParser.addHints(QueryMetaData meta,
javax.persistence.QueryHint... hints) |
void |
XMLPersistenceMetaDataSerializer.addQueryMetaData(QueryMetaData meta)
Add a query meta data to the set to be serialized.
|
void |
AnnotationPersistenceMetaDataSerializer.addQueryMetaData(QueryMetaData meta)
Add a query meta data to the set to be serialized.
|
protected void |
AnnotationPersistenceMetaDataParser.addSourceInfo(AnnotatedElement el,
QueryMetaData meta) |
protected File |
PersistenceMetaDataFactory.defaultSourceFile(QueryMetaData query,
Map clsNames) |
protected boolean |
XMLPersistenceMetaDataParser.isDuplicateQuery(QueryMetaData meta)
Determines whether the QueryMetaData has been resolved more than once.
|
protected <T> QueryImpl<T> |
EntityManagerImpl.newQueryImpl(Query kernelQuery,
QueryMetaData qmd) |
boolean |
XMLPersistenceMetaDataSerializer.removeQueryMetaData(QueryMetaData meta)
Remove a query metadata from the set to be serialized.
|
boolean |
AnnotationPersistenceMetaDataSerializer.removeQueryMetaData(QueryMetaData meta)
Remove a query metadata from the set to be serialized.
|
Constructor and Description |
---|
AbstractQuery(QueryMetaData qmd,
EntityManagerImpl em) |
QueryImpl(EntityManagerImpl em,
RuntimeExceptionTranslator ret,
Query query,
QueryMetaData qmd)
Constructor; supply factory exception translator and delegate.
|
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.