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.
|
Modifier and Type | Class and Description |
---|---|
class |
ClassMapping
Specialization of metadata for relational databases.
|
Modifier and Type | Method and Description |
---|---|
protected ClassStrategy |
MappingRepository.defaultStrategy(ClassMapping cls)
Determine the default strategy to use for the given class.
|
protected ClassStrategy |
MappingRepository.defaultStrategy(ClassMapping cls,
boolean adapting)
Determine the default strategy to use for the given class.
|
ClassStrategy |
ClassMapping.getStrategy()
The strategy used to map this mapping.
|
protected ClassStrategy |
MappingRepository.instantiateClassStrategy(String name,
ClassMapping cls)
Return the strategy for the given name.
|
protected ClassStrategy |
MappingRepository.namedStrategy(ClassMapping cls)
Instantiate the given class' named strategy, or return null if no
named strategy.
|
Modifier and Type | Method and Description |
---|---|
void |
ClassMapping.setStrategy(ClassStrategy strategy,
Boolean adapt)
The strategy used to map this mapping.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractClassStrategy
No-op strategy for easy extension.
|
class |
EmbeddedClassStrategy
Class mapping for embedded objects.
|
class |
FlatClassStrategy
Mapping for classes mapped to their superclass table.
|
class |
FullClassStrategy
Mapping for when the class maps all fields to its own table.
|
class |
NoneClassStrategy
Strategy for classes that aren't mapped.
|
class |
ObjectIdClassStrategy
Class mapping for embedded object id fields.
|
class |
VerticalClassStrategy
Mapping for subclasses that join to their superclass table.
|
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.