Uses of Interface
org.apache.openjpa.jdbc.meta.VersionStrategy
-
Packages that use VersionStrategy Package Description org.apache.openjpa.jdbc.meta OpenJPA-JDBC ORM Metadataorg.apache.openjpa.jdbc.meta.strats OpenJPA-JDBC ORM Strategiesorg.apache.openjpa.jdbc.schema OpenJPA-JDBC Schema Management -
-
Uses of VersionStrategy in org.apache.openjpa.jdbc.meta
Classes in org.apache.openjpa.jdbc.meta that implement VersionStrategy Modifier and Type Class Description class
Version
Handles optimistic lock versioning for a class.Methods in org.apache.openjpa.jdbc.meta that return VersionStrategy Modifier and Type Method 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.VersionStrategy
Version. getStrategy()
The strategy used for versioning.protected VersionStrategy
MappingRepository. instantiateVersionStrategy(java.lang.Class<?> strat, Version version, java.lang.String props)
Instantiate the given version strategy.protected VersionStrategy
MappingRepository. instantiateVersionStrategy(java.lang.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.Methods in org.apache.openjpa.jdbc.meta with parameters of type VersionStrategy Modifier and Type Method Description void
Version. setStrategy(VersionStrategy strategy, java.lang.Boolean adapt)
The strategy used for versioning. -
Uses of VersionStrategy in org.apache.openjpa.jdbc.meta.strats
Classes in org.apache.openjpa.jdbc.meta.strats that implement VersionStrategy Modifier and Type Class Description class
AbstractVersionStrategy
No-op strategy for easy extension.class
ColumnVersionStrategy
Uses a one or more column(s) and corresponding version object.class
MultiColumnVersionStrategy
Uses multiple version numbers spanning multiple columns for optimistic versioning.class
NanoPrecisionTimestampVersionStrategy
Uses a timestamp for optimistic versioning with nanosecond precision.class
NoneVersionStrategy
No-op version strategy.class
NumberVersionStrategy
Uses a version number for optimistic versioning.class
StateComparisonVersionStrategy
Uses a state image to determine whether concurrency violations take place.class
SuperclassVersionStrategy
Version strategy that delegates to the suerpclass version.class
TimestampVersionStrategy
Uses a timestamp for optimistic versioning. -
Uses of VersionStrategy in org.apache.openjpa.jdbc.schema
Methods in org.apache.openjpa.jdbc.schema that return VersionStrategy Modifier and Type Method Description VersionStrategy
Column. getVersionStrategy()
Methods in org.apache.openjpa.jdbc.schema with parameters of type VersionStrategy Modifier and Type Method Description void
Column. setVersionStrategy(VersionStrategy strategy)
-