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.jdbc.meta.strats |
OpenJPA-JDBC ORM Strategies
Library of mapping strategies.
|
org.apache.openjpa.persistence.jdbc |
OpenJPA JPA-JDBC
JDBC-specific extensions to OpenJPA JPA runtime.
|
Modifier and Type | Method and Description |
---|---|
Version |
ClassMapping.getVersion()
The version indicator.
|
protected Version |
MappingRepository.newVersion(ClassMapping cls)
Create version metadata for the given class.
|
Modifier and Type | Method and Description |
---|---|
protected VersionStrategy |
MappingRepository.defaultStrategy(Version version)
Determine the default strategy to use for the given version.
|
protected VersionStrategy |
MappingRepository.defaultStrategy(Version version,
boolean adapting)
Determine the default strategy to use for the given version.
|
protected VersionStrategy |
MappingRepository.defaultStrategy(Version vers,
FieldMapping vfield)
Return the default version strategy, given a version field.
|
Column[] |
VersionMappingInfo.getColumns(Version version,
Column[] templates,
boolean adapt)
Return the columns set for this version, based on the given templates.
|
Index |
VersionMappingInfo.getIndex(Version version,
Column[] cols,
boolean adapt)
Return the index to set on the version columns, or null if none.
|
Index |
NoneMappingDefaults.getIndex(Version vers,
Table table,
Column[] cols) |
Index |
MappingDefaultsImpl.getIndex(Version vers,
Table table,
Column[] cols) |
Index |
MappingDefaults.getIndex(Version vers,
Table table,
Column[] cols)
Return a default index for the version, or null if the
version columns should not be indexed by default.
|
Column[] |
VersionMappingInfo.getMultiTableColumns(Version vers,
Column[] templates,
boolean adapt)
Return the columns set for this version when the columns are spread
across multiple tables.
|
Object |
NoneMappingDefaults.getStrategy(Version vers,
boolean adapt) |
Object |
MappingDefaultsImpl.getStrategy(Version vers,
boolean adapt) |
Object |
MappingDefaults.getStrategy(Version vers,
boolean adapt)
Default version mapping strategy when there is no explicit strategy.
|
void |
NoneStrategyInstaller.installStrategy(Version version) |
abstract void |
StrategyInstaller.installStrategy(Version version)
Install a strategy on the given mapping.
|
void |
RuntimeStrategyInstaller.installStrategy(Version version) |
void |
MappingStrategyInstaller.installStrategy(Version version) |
void |
RefreshStrategyInstaller.installStrategy(Version version) |
protected VersionStrategy |
MappingRepository.instantiateVersionStrategy(Class<?> strat,
Version version,
String props)
Instantiate the given version strategy.
|
protected VersionStrategy |
MappingRepository.instantiateVersionStrategy(String name,
Version version)
Instantiate the given version strategy.
|
protected VersionStrategy |
MappingRepository.namedStrategy(Version version)
Instantiate the given version's named strategy, or return null
if no named strategy.
|
protected VersionMappingInfo |
MappingRepository.newMappingInfo(Version version)
Create raw mapping info for the given instance.
|
void |
NoneMappingDefaults.populateColumns(Version vers,
Table table,
Column[] cols) |
void |
MappingDefaultsImpl.populateColumns(Version vers,
Table table,
Column[] cols) |
void |
MappingDefaults.populateColumns(Version vers,
Table table,
Column[] cols)
Fill in default information for the given version columns.
|
void |
Version.setVersion(Version owner) |
void |
VersionStrategy.setVersion(Version owner)
Set the version that uses this strategy.
|
void |
VersionMappingInfo.syncWith(Version version)
Synchronize internal information with the mapping data for the given
version.
|
Modifier and Type | Field and Description |
---|---|
protected Version |
AbstractVersionStrategy.vers
The owning version.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractVersionStrategy.setVersion(Version owner) |
void |
NoneVersionStrategy.setVersion(Version owner) |
Modifier and Type | Method and Description |
---|---|
Object |
PersistenceMappingDefaults.getStrategy(Version vers,
boolean adapt) |
void |
PersistenceMappingDefaults.populateColumns(Version vers,
Table table,
Column[] cols) |
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.