Package org.apache.openjpa.jdbc.meta
OpenJPA-JDBC ORM Metadata
This package extends the standard persistence metadata with object-relational mapping information.
-
Interface Summary Interface Description ClassStrategy Mapping from a class to a relational schema.DiscriminatorStrategy Handles determining the object class of database records.Embeddable Interface for field strategies that can managed fields of embedded-element, embedded-key, and embedded-value objects.FieldStrategy Maps a persistent field to the relational schema.Joinable Represents a value that can be joined to.MappingDefaults Generates default names for tables, columns, indexes, constraints, etc.MappingInfo.ForeignKeyDefaults Supplies default foreign key information.MappingInfo.TableDefaults Supplies default table information.MappingTool.ImportExport Helper used to import and export mapping data.RelationId Callback to store a relation after the object id has been assigned.ReverseCustomizer Plugin in interface to customize the output of theReverseMappingTool
.Strategy Interface implemented by all mapping strategies.ValueHandler Maps a value to a relational schema.ValueMapping Specialization of value metadata for relational databases.VersionStrategy Handles optimistic lock versioning for a class. -
Class Summary Class Description ClassMapping Specialization of metadata for relational databases.ClassMappingInfo Information about the mapping from a class to the schema, in raw form.DelegatingJoinable Delegates to anotherJoinable
after doing column translation.Discriminator Handles determining the object class of database records.DiscriminatorMappingInfo Information about the mapping from a discriminator to the schema, in raw form.FieldMapping Specialization of metadata for relational databases.FieldMappingInfo Information about the mapping from a field to the schema, in raw form.JavaSQLTypes Java SQL type constants.MappingDefaultsImpl Default implementation ofMappingDefaults
.MappingInfo Base class storing raw mapping information; defines utility methods for converting raw mapping information to full mapping to the schema.MappingRepository Repository of object/relational mapping information.MappingStrategyInstaller Installer used during mapping that attempts to use the given mapping information (if any), and fails if it does not work.MappingTool Tool for manipulating class mappings and associated schema.MappingTool.Flags Run flags.MetaDataPlusMappingFactory Combines two internalMetaDataFactory
instances -- one for metadata, one for mappings -- into a singleMetaDataFactory
facade.NoneMappingDefaults No-op mapping defaults.NoneStrategyInstaller Clears all mapping information from classes and installs none strategies.PropertiesReverseCustomizer SimpleReverseCustomizer
that uses a properties file to to allow customization of basic class and field properties.QueryResultMapping Mapping of a query result set to scalar and/or persistence-capable object-level values.RefreshStrategyInstaller Attempts to install using the given mapping information.ReverseMappingTool Reverse-maps a schema into class mappings and the associated java code.ReverseMappingTool.Flags Holder for run flags.RuntimeStrategyInstaller Installer that attempts to use the given mapping information, and fails if it does not work.SequenceMapping Specialization of sequence metadata for ORM.StrategyInstaller Installs mapping strategies.ValueMappingImpl StandaloneValueMapping
implementation.ValueMappingInfo Information about the mapping from a field value to the schema, in raw form.Version Handles optimistic lock versioning for a class.VersionMappingInfo Information about the mapping from a version indicator to the schema, in raw form.