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 |
FieldMapping
Specialization of metadata for relational databases.
|
Modifier and Type | Method and Description |
---|---|
protected FieldStrategy |
MappingRepository.defaultStrategy(FieldMapping field,
boolean installHandlers)
Determine the default strategy to use for the given field.
|
protected FieldStrategy |
MappingRepository.defaultStrategy(FieldMapping field,
boolean installHandlers,
boolean adapting)
Determine the default strategy to use for the given field.
|
protected FieldStrategy |
MappingRepository.defaultTypeStrategy(FieldMapping field,
boolean installHandlers,
boolean adapting)
Return the built-in strategy for the field's type, or null if none.
|
FieldStrategy |
FieldMapping.getStrategy()
The strategy used to map this mapping.
|
protected FieldStrategy |
MappingRepository.handlerCollectionStrategy(FieldMapping field,
ValueHandler ehandler,
boolean installHandlers)
Return the collection strategy for the given element handler, or null
if none.
|
protected FieldStrategy |
MappingRepository.handlerMapStrategy(FieldMapping field,
ValueHandler khandler,
ValueHandler vhandler,
boolean krel,
boolean vrel,
boolean installHandlers)
Return the map strategy for the given key and value handlers / relations,
or null if none.
|
protected FieldStrategy |
MappingRepository.namedStrategy(FieldMapping field,
boolean installHandlers)
Instantiate the given field's named strategy, or return null if no
named strategy.
|
Modifier and Type | Method and Description |
---|---|
void |
FieldMapping.setStrategy(FieldStrategy strategy,
Boolean adapt)
The strategy used to map this mapping.
|
Modifier and Type | Interface and Description |
---|---|
interface |
LRSCollectionFieldStrategy
Interface implemented by collection strategies so that they can
support large result set collections.
|
interface |
LRSMapFieldStrategy
Interface implemented by map strategies so that they can
support large result set maps.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFieldStrategy
No-op strategy for easy extension.
|
class |
ContainerFieldStrategy
An abstract container mapping that handles traversing the
join to examine the size of the relation.
|
class |
EmbedFieldStrategy
Mapping for an embedded persistent object.
|
class |
HandlerCollectionTableFieldStrategy
Mapping for a collection of values in a separate table controlled by a
ValueHandler . |
class |
HandlerFieldStrategy
Mapping for a single-valued field that delegates to a
ValueHandler . |
class |
HandlerHandlerMapTableFieldStrategy
Mapping for a map of keys and values both controlled by
ValueHandler s. |
class |
HandlerRelationMapTableFieldStrategy
Mapping for a map whose keys are controlled by a
ValueHandler
and whose values are relations to other persistent objects. |
class |
LobFieldStrategy
Direct mapping from a stream value to a column.
|
class |
MapTableFieldStrategy
Base class for map mappings.
|
class |
MaxEmbeddedBlobFieldStrategy
Mapping for serialized fields on a dictionary that has a maximum embedded
BLOB size.
|
class |
MaxEmbeddedByteArrayFieldStrategy
Mapping for byte array fields on a dictionary that has a maximum embedded
BLOB size.
|
class |
MaxEmbeddedCharArrayFieldStrategy
Mapping for CLOB character array on a dictionary that has a maximum
embedded CLOB size.
|
class |
MaxEmbeddedClobFieldStrategy
Mapping for CLOB string on a dictionary that has a maximum embedded
CLOB size.
|
class |
NoneFieldStrategy
An unmapped field.
|
class |
PrimitiveFieldStrategy
Direct mapping from a primitive value to a column.
|
class |
RelationCollectionInverseKeyFieldStrategy
Maps a relation to a collection of other objects using an inverse
foreign key in the related object table.
|
class |
RelationCollectionTableFieldStrategy
Maps a collection of related objects through an association table.
|
class |
RelationFieldStrategy
Mapping for a single-valued relation to another entity.
|
class |
RelationHandlerMapTableFieldStrategy
Mapping for a map whose keys are relations to other persistent objects
and whose values are controlled by a
ValueHandler . |
class |
RelationMapInverseKeyFieldStrategy
Uses an inverse foreign key in the table of the map value to determine
map values.
|
class |
RelationMapTableFieldStrategy
Uses an association table to hold map values.
|
class |
RelationRelationMapTableFieldStrategy
Mapping for a map whose keys and values are both relations to other
persistent objects.
|
class |
RelationToManyInverseKeyFieldStrategy
Maps a relation to a set of other objects using an inverse
foreign key in the related object table.
|
class |
RelationToManyTableFieldStrategy
Maps a set of related objects through an association table.
|
class |
StoreCollectionFieldStrategy
Base class for strategies that are stored as a collection, even if
their field value is something else.
|
class |
StringFieldStrategy
Direct mapping from a string value to a column.
|
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.