Uses of Class
org.apache.openjpa.jdbc.meta.Version
Package
Description
OpenJPA-JDBC ORM Metadata
OpenJPA-JDBC ORM Strategies
OpenJPA JPA-JDBC
-
Uses of Version in org.apache.openjpa.jdbc.meta
Modifier and TypeMethodDescriptionClassMapping.getVersion()
The version indicator.protected Version
MappingRepository.newVersion
(ClassMapping cls) Create version metadata for the given class.Modifier and TypeMethodDescriptionprotected 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.Return a default index for the version, or null if the version columns should not be indexed by default.Return the index to set on the version columns, or null if none.Column[]
VersionMappingInfo.getMultiTableColumns
(Version vers, Column[] templates, boolean adapt) Return the columns set for this version when the columns are spread across multiple tables.MappingDefaults.getStrategy
(Version vers, boolean adapt) Default version mapping strategy when there is no explicit strategy.MappingDefaultsImpl.getStrategy
(Version vers, boolean adapt) NoneMappingDefaults.getStrategy
(Version vers, boolean adapt) void
MappingStrategyInstaller.installStrategy
(Version version) void
NoneStrategyInstaller.installStrategy
(Version version) void
RefreshStrategyInstaller.installStrategy
(Version version) void
RuntimeStrategyInstaller.installStrategy
(Version version) abstract void
StrategyInstaller.installStrategy
(Version version) Install a strategy on the given mapping.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
MappingDefaults.populateColumns
(Version vers, Table table, Column[] cols) Fill in default information for the given version columns.void
MappingDefaultsImpl.populateColumns
(Version vers, Table table, Column[] cols) void
NoneMappingDefaults.populateColumns
(Version vers, Table table, Column[] cols) void
Version.setVersion
(Version owner) void
VersionStrategy.setVersion
(Version owner) Set the version that uses this strategy.void
Synchronize internal information with the mapping data for the given version. -
Uses of Version in org.apache.openjpa.jdbc.meta.strats
Modifier and TypeFieldDescriptionprotected Version
AbstractVersionStrategy.vers
The owning version.Modifier and TypeMethodDescriptionvoid
AbstractVersionStrategy.setVersion
(Version owner) void
NoneVersionStrategy.setVersion
(Version owner) -
Uses of Version in org.apache.openjpa.persistence.jdbc
Modifier and TypeMethodDescriptionPersistenceMappingDefaults.getStrategy
(Version vers, boolean adapt) void
PersistenceMappingDefaults.populateColumns
(Version vers, Table table, Column[] cols)