Uses of Interface
org.apache.openjpa.jdbc.meta.DiscriminatorStrategy
Package
Description
OpenJPA-JDBC ORM Metadata
OpenJPA-JDBC ORM Strategies
-
Uses of DiscriminatorStrategy in org.apache.openjpa.jdbc.meta
Modifier and TypeClassDescriptionclass
Handles determining the object class of database records.Modifier and TypeMethodDescriptionprotected 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.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 TypeMethodDescriptionvoid
Discriminator.setStrategy
(DiscriminatorStrategy strategy, Boolean adapt) The strategy used for class discrimination. -
Uses of DiscriminatorStrategy in org.apache.openjpa.jdbc.meta.strats
Modifier and TypeClassDescriptionclass
No-op strategy for easy extension.class
Stores the class name along with each database object record.class
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
No-op Discriminator strategy.class
Discriminator strategy that outer joins to all possible subclass tables to determine the class of an instance.class
Discriminator strategy that delegates to superclass discriminator.class
Maps metadata-given values to classes.