Uses of Interface
org.apache.openjpa.meta.MetaDataContext
Packages that use MetaDataContext
Package
Description
OpenJPA-JDBC ORM Metadata
OpenJPA Metadata
OpenJPA JPA
-
Uses of MetaDataContext in org.apache.openjpa.jdbc.meta
Subinterfaces of MetaDataContext in org.apache.openjpa.jdbc.metaModifier and TypeInterfaceDescriptioninterfaceSpecialization of value metadata for relational databases.Classes in org.apache.openjpa.jdbc.meta that implement MetaDataContextModifier and TypeClassDescriptionclassSpecialization of metadata for relational databases.classHandles determining the object class of database records.classSpecialization of metadata for relational databases.classSpecialization of sequence metadata for ORM.classStandaloneValueMappingimplementation.classHandles optimistic lock versioning for a class.Methods in org.apache.openjpa.jdbc.meta with parameters of type MetaDataContextModifier and TypeMethodDescriptionvoidMappingInfo.assertNoForeignKey(MetaDataContext context, boolean die) Assert that the user did not try to place a foreign key on this mapping or placed an implicit foreign key.voidMappingInfo.assertNoIndex(MetaDataContext context, boolean die) Assert that the user did not try to place an index on this mapping.voidMappingInfo.assertNoJoin(MetaDataContext context, boolean die) Assert that the user did not try to join.voidMappingInfo.assertNoSchemaComponents(MetaDataContext context, boolean die) Assert that the user did not supply any columns, index, unique constraint, or foreign key for this mapping.voidMappingInfo.assertNoUnique(MetaDataContext context, boolean die) Assert that the user did not try to place a unique constraint on this mapping.voidMappingInfo.assertStrategy(MetaDataContext context, Object contextStrat, Object expected, boolean die) Assert that this info has the given strategy or no strategy.protected Column[]MappingInfo.createColumns(MetaDataContext context, String prefix, Column[] tmplates, Table table, boolean adapt) Retrieve/create columns on the given table by merging the given template information with any user-provided information.protected ForeignKeyMappingInfo.createForeignKey(MetaDataContext context, String prefix, List<Column> given, MappingInfo.ForeignKeyDefaults def, Table table, ClassMapping cls, ClassMapping rel, boolean inversable, boolean adapt) Retrieve/create a foreign key (possibly logical) on the given columns by merging the given template information with any user-provided information.protected IndexMappingInfo.createIndex(MetaDataContext context, String prefix, Index tmplate, Column[] cols, boolean adapt) Retrieve/create an index on the given columns by merging the given template information with any user-provided information.MappingInfo.createTable(MetaDataContext context, MappingInfo.TableDefaults def, String schemaName, String given, boolean adapt) Deprecated.MappingInfo.createTable(MetaDataContext context, MappingInfo.TableDefaults def, DBIdentifier schemaName, DBIdentifier given, boolean adapt) protected UniqueMappingInfo.createUnique(MetaDataContext context, String prefix, Unique tmplate, Column[] cols, boolean adapt) Retrieve/create a unique constraint on the given columns by merging the given template information with any user-provided information.Index[]ClassMappingInfo.getIndices(MetaDataContext cm, boolean adapt) Get all indices associated with both the primary and/or secondary tables.Unique[]ClassMappingInfo.getUniques(MetaDataContext cm, boolean adapt) Get all the unique constraints associated with both the primary and/or secondary tables.protected static ColumnMappingInfo.mergeColumn(MetaDataContext context, String prefix, Column tmplate, boolean compat, Column given, Table table, boolean adapt, boolean fill) Merge the given columns if possible.protected static ColumnMappingInfo.syncColumn(MetaDataContext context, Column col, int num, boolean forceJDBCType, Table colTable, Table targetTable, Object target, boolean inverse) Create a copy of the given column with the raw mapping information set correctly, and without settings that match defaults.protected voidMappingInfo.syncColumns(MetaDataContext context, Column[] cols, boolean forceJDBCType) Sets internal column information to match the given mapped columns.protected voidMappingInfo.syncForeignKey(MetaDataContext context, ForeignKey fk, Table local, Table target) Sets internal constraint and column information to match given mapped constraint.protected voidMappingInfo.syncIndex(MetaDataContext context, Index idx) Sets internal index information to match given mapped index.protected voidFieldMappingInfo.syncJoinTableUniques(MetaDataContext context, Unique[] unqs) Sets internal constraint information to match given mapped constraint.protected voidMappingInfo.syncUnique(MetaDataContext context, Unique unq) Sets internal constraint information to match given mapped constraint.Method parameters in org.apache.openjpa.jdbc.meta with type arguments of type MetaDataContextModifier and TypeMethodDescriptionQueryResultMapping.PCResult.getExcludes(List<MetaDataContext> path) Return the field indexes to exclude when loading data for the given path.booleanQueryResultMapping.PCResult.hasEager(List<MetaDataContext> path, FieldMapping field) Return true if the mapped result contains eager data for the given field at the given path.QueryResultMapping.PCResult.map(List<MetaDataContext> path, Object id, Joins joins) Map the given request onto a result id. -
Uses of MetaDataContext in org.apache.openjpa.meta
Subinterfaces of MetaDataContext in org.apache.openjpa.metaModifier and TypeInterfaceDescriptioninterfaceHolds metadata on a value; this could be a field value, key value, or element value.Classes in org.apache.openjpa.meta that implement MetaDataContextModifier and TypeClassDescriptionclassContains metadata about a persistent type.classMetadata for a managed class field.classMetadata about a persistence-aware type.classMetadata about a named sequence.classDefaultValueMetaDataimplementation.Methods in org.apache.openjpa.meta with parameters of type MetaDataContextModifier and TypeMethodDescriptionstatic voidValueStrategies.assertSupported(int strategy, MetaDataContext context, String attributeName) Assert that the given strategy is supported by the current runtime. -
Uses of MetaDataContext in org.apache.openjpa.persistence
Methods in org.apache.openjpa.persistence with parameters of type MetaDataContextModifier and TypeMethodDescriptionprotected voidXMLPersistenceMetaDataParser.deferEmbeddable(Class<?> embedType, MetaDataContext fmd) protected booleanXMLPersistenceMetaDataParser.isDeferredEmbeddable(Class<?> embedType, MetaDataContext fmd)