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 |
Discriminator
Handles determining the object class of database records.
|
Modifier and Type | Method and Description |
---|---|
protected DiscriminatorStrategy |
MappingRepository.defaultStrategy(Discriminator discrim)
Determine the default strategy to use for the given discriminator.
|
protected DiscriminatorStrategy |
MappingRepository.defaultStrategy(Discriminator discrim,
boolean adapting)
Determine the default strategy to use for the given discriminator.
|
DiscriminatorStrategy |
Discriminator.getStrategy()
The strategy used for class discrimination.
|
protected DiscriminatorStrategy |
MappingRepository.instantiateDiscriminatorStrategy(String name,
Discriminator discrim)
Instantiate the given discriminator strategy.
|
protected DiscriminatorStrategy |
MappingRepository.namedStrategy(Discriminator discrim)
Instantiate the given discriminator's named strategy, or return null
if no named strategy.
|
Modifier and Type | Method and Description |
---|---|
void |
Discriminator.setStrategy(DiscriminatorStrategy strategy,
Boolean adapt)
The strategy used for class discrimination.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDiscriminatorStrategy
No-op strategy for easy extension.
|
class |
ClassNameDiscriminatorStrategy
Stores the class name along with each database object record.
|
class |
InValueDiscriminatorStrategy
Base discriminator strategy that determines the class of database
records using a column holding a value mapped to a class, and limits
SELECTs using an IN (...) statement.
|
class |
NoneDiscriminatorStrategy
No-op Discriminator strategy.
|
class |
SubclassJoinDiscriminatorStrategy
Discriminator strategy that outer joins to all possible subclass tables
to determine the class of an instance.
|
class |
SuperclassDiscriminatorStrategy
Discriminator strategy that delegates to superclass discriminator.
|
class |
ValueMapDiscriminatorStrategy
Maps metadata-given values to classes.
|
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.