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.jdbc.schema |
OpenJPA-JDBC Schema Management
This package provides utilities for managing the schema of
persistent objects stored in a relational database.
|
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–2019 Apache Software Foundation. All rights reserved.