Package | Description |
---|---|
org.apache.openjpa.jdbc.meta |
OpenJPA-JDBC ORM Metadata
|
org.apache.openjpa.meta |
OpenJPA Metadata
|
org.apache.openjpa.persistence |
OpenJPA JPA
|
Modifier and Type | Method and Description |
---|---|
boolean |
MetaDataPlusMappingFactory.store(ClassMetaData[] metas,
QueryMetaData[] queries,
SequenceMetaData[] seqs,
int mode,
Map output) |
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.getCachedQueryMetaData(Class<?> cls,
String name) |
QueryMetaData |
MetaDataRepository.getCachedQueryMetaData(String name)
Return the cached query metadata for the given name.
|
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.
|
protected 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 |
---|---|
void |
AbstractCFMetaDataFactory.Serializer.addQueryMetaData(QueryMetaData meta)
Add a query meta data to the set to be serialized.
|
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 |
MetaDataFactory.store(ClassMetaData[] metas,
QueryMetaData[] queries,
SequenceMetaData[] seqs,
int mode,
Map<File,String> output)
Store the given metadata.
|
boolean |
AbstractMetaDataFactory.store(ClassMetaData[] metas,
QueryMetaData[] queries,
SequenceMetaData[] seqs,
int mode,
Map<File,String> output) |
boolean |
AbstractCFMetaDataFactory.store(ClassMetaData[] metas,
QueryMetaData[] queries,
SequenceMetaData[] seqs,
int mode,
Map<File,String> output) |
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.
|
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 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–2017 Apache Software Foundation. All rights reserved.