Package | Description |
---|---|
org.apache.openjpa.jdbc.meta |
OpenJPA-JDBC ORM Metadata
|
org.apache.openjpa.jdbc.meta.strats |
OpenJPA-JDBC ORM Strategies
|
org.apache.openjpa.jdbc.schema |
OpenJPA-JDBC Schema Management
|
Modifier and Type | Class and Description |
---|---|
class |
Version
Handles optimistic lock versioning for a 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.
|
VersionStrategy |
Version.getStrategy()
The strategy used for versioning.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
Version.setStrategy(VersionStrategy strategy,
Boolean adapt)
The strategy used for versioning.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
VersionStrategy |
Column.getVersionStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
Column.setVersionStrategy(VersionStrategy strategy) |
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.