Uses of Class
org.apache.openjpa.jdbc.meta.ClassMapping
- 
Packages that use ClassMapping Package Description org.apache.openjpa.jdbc.kernel OpenJPA-JDBC Runtime Kernelorg.apache.openjpa.jdbc.kernel.exps OpenJPA-JDBC Expression Treeorg.apache.openjpa.jdbc.meta OpenJPA-JDBC ORM Metadataorg.apache.openjpa.jdbc.meta.strats OpenJPA-JDBC ORM Strategiesorg.apache.openjpa.jdbc.sql OpenJPA-JDBC SQL Abstractionorg.apache.openjpa.persistence.jdbc OpenJPA JPA-JDBC - 
- 
Uses of ClassMapping in org.apache.openjpa.jdbc.kernel
Fields in org.apache.openjpa.jdbc.kernel declared as ClassMapping Modifier and Type Field Description ClassMappingConnectionInfo. mappingMethods in org.apache.openjpa.jdbc.kernel that return ClassMapping Modifier and Type Method Description ClassMappingFinderQueryImpl. getIdentifier()Methods in org.apache.openjpa.jdbc.kernel that return types with arguments of type ClassMapping Modifier and Type Method Description FinderQuery<ClassMapping,SelectExecutor,Result>FinderCacheImpl. cache(ClassMapping mapping, SelectExecutor select, FetchConfiguration fetch)Cache a Finder Query for the given mapping and select.FinderQuery<ClassMapping,SelectExecutor,Result>FinderCacheImpl. get(ClassMapping mapping, FetchConfiguration fetch)Gets the finder query for the given mapping.QueryStatistics<ClassMapping>FinderCacheImpl. getStatistics()Gets basic statistics of execution and hit count of finder queries.FinderQuery<ClassMapping,SelectExecutor,Result>FinderCacheImpl. markUncachable(String id)FinderQuery<ClassMapping,SelectExecutor,Result>FinderCacheImpl. markUncachable(ClassMapping mapping)Methods in org.apache.openjpa.jdbc.kernel with parameters of type ClassMapping Modifier and Type Method Description voidAbstractJDBCSeq. addSchema(ClassMapping mapping, SchemaGroup group)No-op.voidJDBCSeq. addSchema(ClassMapping mapping, SchemaGroup group)Add any tables, etc needed by this factory for the given mapping to the given schema group, if they do not exist already.voidNativeJDBCSeq. addSchema(ClassMapping mapping, SchemaGroup group)voidTableJDBCSeq. addSchema(ClassMapping mapping, SchemaGroup group)protected voidAbstractJDBCSeq. allocateInternal(int additional, JDBCStore store, ClassMapping mapping)Allocate additional sequence values.protected voidNativeJDBCSeq. allocateInternal(int additional, JDBCStore store, ClassMapping mapping)Allocate additional sequence values.protected voidTableJDBCSeq. allocateInternal(int count, JDBCStore store, ClassMapping mapping)FinderQuery<ClassMapping,SelectExecutor,Result>FinderCacheImpl. cache(ClassMapping mapping, SelectExecutor select, FetchConfiguration fetch)Cache a Finder Query for the given mapping and select.protected ObjectAbstractJDBCSeq. currentInternal(JDBCStore store, ClassMapping mapping)Return the current sequence object.protected ObjectTableJDBCSeq. currentInternal(JDBCStore store, ClassMapping mapping)protected voidAbstractUpdateManager. delete(OpenJPAStateManager sm, ClassMapping mapping, RowManager rowMgr, JDBCStore store, Collection customs)Recursive method to delete the given instance, base class last.FinderQuery<ClassMapping,SelectExecutor,Result>FinderCacheImpl. get(ClassMapping mapping, FetchConfiguration fetch)Gets the finder query for the given mapping.protected List<SQLBuffer>MixedLockManager. getLockRows(DBDictionary dict, Object id, ClassMapping mapping, JDBCFetchConfiguration fetch, SQLFactory factory)protected List<SQLBuffer>PessimisticLockManager. getLockRows(DBDictionary dict, Object id, ClassMapping mapping, JDBCFetchConfiguration fetch, SQLFactory factory)static BitSetPagingResultObjectProvider. getPagedFields(Select sel, ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, long size)Return a bit set representing batch select fields that will be paged, or null if no fields need paging, which indicates that this provider should not be used.protected ObjectClassTableJDBCSeq. getPrimaryKey(ClassMapping mapping)protected ObjectTableJDBCSeq. getPrimaryKey(ClassMapping mapping)Return the primary key value for the sequence table for the given class.protected ObjectValueTableJDBCSeq. getPrimaryKey(ClassMapping mapping)protected longTableJDBCSeq. getSequence(ClassMapping mapping, Connection conn)Get the current sequence value.protected TableJDBCSeq.StatusClassTableJDBCSeq. getStatus(ClassMapping mapping)protected TableJDBCSeq.StatusTableJDBCSeq. getStatus(ClassMapping mapping)Return the appropriate status object for the given class, or null if cannot handle the given class.intDelegatingJDBCFetchConfiguration. getSubclassFetchMode(ClassMapping cls)intJDBCFetchConfiguration. getSubclassFetchMode(ClassMapping cls)Return the effective subclass fetch mode for the given type.intJDBCFetchConfigurationImpl. getSubclassFetchMode(ClassMapping cls)protected Class<?>JDBCStoreManager. getType(Result res, ClassMapping mapping)This method is to provide override for non-JDBC or JDBC-like implementation of getting type from the result set.protected voidJDBCStoreManager. getVersion(ClassMapping mapping, OpenJPAStateManager sm, Result res)This method is to provide override for non-JDBC or JDBC-like implementation of getting version from the result set.protected voidAbstractUpdateManager. insert(OpenJPAStateManager sm, ClassMapping mapping, RowManager rowMgr, JDBCStore store, Collection customs)Recursive method to insert the given instance, base class first.booleanFinderCacheImpl. invalidate(ClassMapping mapping)booleanFinderCacheImpl. isExcluded(ClassMapping mapping)Affirms if the given mapping is excluded from being cached.ObjectJDBCStoreManager. load(ClassMapping mapping, JDBCFetchConfiguration fetch, BitSet exclude, Result result)Load the object in the current row of the given result.voidJDBCStore. loadSubclasses(ClassMapping mapping)Makes sure all subclasses of the given type are loaded in the JVM.voidJDBCStoreManager. loadSubclasses(ClassMapping mapping)Makes sure all subclasses of the given type are loaded in the JVM.protected voidPessimisticLockManager. lockJoinTables(List<SQLBuffer> sqls, DBDictionary dict, Object id, ClassMapping mapping, JDBCFetchConfiguration fetch, SQLFactory factory)FinderQuery<ClassMapping,SelectExecutor,Result>FinderCacheImpl. markUncachable(ClassMapping mapping)IdJDBCStore. newDataStoreId(long id, ClassMapping mapping, boolean subs)Create a new datastore identity object from the given id value and mapping.IdJDBCStoreManager. newDataStoreId(long id, ClassMapping mapping, boolean subs)protected abstract ObjectAbstractJDBCSeq. nextInternal(JDBCStore store, ClassMapping mapping)Return the next sequence object.protected ObjectNativeJDBCSeq. nextInternal(JDBCStore store, ClassMapping mapping)protected ObjectTableJDBCSeq. nextInternal(JDBCStore store, ClassMapping mapping)DBIdentifierTableJDBCSeq. resolveTableIdentifier(ClassMapping mapping, Table table)Resolve a fully qualified table nameStringTableJDBCSeq. resolveTableName(ClassMapping mapping, Table table)Deprecated.booleanJDBCStoreManager. select(Select sel, ClassMapping mapping, int subs, OpenJPAStateManager sm, BitSet fields, JDBCFetchConfiguration fetch, int eager, boolean ident, boolean outer)For implementation use only.protected booleanTableJDBCSeq. setSequence(ClassMapping mapping, TableJDBCSeq.Status stat, int inc, boolean updateStatSeq, Connection conn)Grabs the next handful of sequence numbers.protected voidAbstractUpdateManager. update(OpenJPAStateManager sm, BitSet dirty, ClassMapping mapping, RowManager rowMgr, JDBCStore store, Collection customs, boolean updateIndicators)Recursive method to update the given instance.protected voidAbstractUpdateManager. updateIndicators(OpenJPAStateManager sm, ClassMapping mapping, RowManager rowMgr, JDBCStore store, Collection customs, boolean versionUpdateOnly)Update version and discriminator indicators.Constructors in org.apache.openjpa.jdbc.kernel with parameters of type ClassMapping Constructor Description GenericResultObjectProvider(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Result res)Constructor.InstanceResultObjectProvider(SelectExecutor sel, ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch)Constructor.PagingResultObjectProvider(SelectExecutor sel, ClassMapping[] mappings, JDBCStore store, JDBCFetchConfiguration fetch, BitSet[] paged, long size)Constructor.PagingResultObjectProvider(SelectExecutor sel, ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, BitSet paged, long size)Constructor.PreparedResultObjectProvider(SelectExecutor sel, ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Result res)Constructor. - 
Uses of ClassMapping in org.apache.openjpa.jdbc.kernel.exps
Fields in org.apache.openjpa.jdbc.kernel.exps declared as ClassMapping Modifier and Type Field Description ClassMapping[]CollectionParam.ParamExpState. mappingClassMappingParam.ParamExpState. mappingClassMappingExpContext. tpcMetaMethods in org.apache.openjpa.jdbc.kernel.exps that return ClassMapping Modifier and Type Method Description ClassMappingSubQ. getCandidate()Return the subquery candidate type.ClassMappingFilterValue. getClassMapping()If this is a path to a persistent object, return its class mapping, else return null.ClassMappingPCPath. getClassMapping(ExpState state)ClassMappingParam. getValueMetaData(ExpContext ctx)Methods in org.apache.openjpa.jdbc.kernel.exps with parameters of type ClassMapping Modifier and Type Method Description voidGetColumn. appendTo(SQLBuffer buf, FilterValue target, FilterValue[] args, ClassMapping type, JDBCStore store)voidJDBCAggregateListener. appendTo(SQLBuffer buf, FilterValue[] args, ClassMapping mapping, JDBCStore store)Append the SQL for this aggregate.voidJDBCFilterListener. appendTo(SQLBuffer buf, FilterValue target, FilterValue[] args, ClassMapping mapping, JDBCStore store)Append the SQL for this expression or value.voidJDBCStringContains. appendTo(SQLBuffer buf, FilterValue target, FilterValue[] args, ClassMapping type, JDBCStore store)Deprecated.voidJDBCWildcardMatch. appendTo(SQLBuffer sql, FilterValue target, FilterValue[] args, ClassMapping type, JDBCStore store)Deprecated.voidSQLEmbed. appendTo(SQLBuffer buf, FilterValue target, FilterValue[] args, ClassMapping type, JDBCStore store)voidSelectConstructor. select(Select sel, ExpContext ctx, ClassMapping mapping, boolean subclasses, QueryExpressions exps, QueryExpressionsState state, int eager)Select the data for this query.Constructors in org.apache.openjpa.jdbc.kernel.exps with parameters of type ClassMapping Constructor Description JDBCExpressionFactory(ClassMapping type)Constructor.PCPath(ClassMapping type)Return a path starting with the 'this' ptr.PCPath(ClassMapping candidate, org.apache.openjpa.jdbc.kernel.exps.Variable var)Return a path starting from the given variable.SubQ(ClassMapping candidate, boolean subs, String alias)Constructor. - 
Uses of ClassMapping in org.apache.openjpa.jdbc.meta
Fields in org.apache.openjpa.jdbc.meta declared as ClassMapping Modifier and Type Field Description static ClassMapping[]ClassMapping. EMPTY_MAPPINGSMethods in org.apache.openjpa.jdbc.meta that return ClassMapping Modifier and Type Method Description protected ClassMappingMappingRepository. findBaseClassMapping(ClassMapping mapping)Finds the base class mapping for the specified mapping.ClassMappingQueryResultMapping.PCResult. getCandidateTypeMapping()Candidate mapping.ClassMappingDiscriminator. getClassMapping()Return the owning mapping.ClassMappingReverseMappingTool. getClassMapping(Table table)Return the class mapping for the given table, or null if none.ClassMappingVersion. getClassMapping()Return the owning mapping.ClassMappingFieldMapping. getDeclaredTypeMapping()ClassMappingValueMapping. getDeclaredTypeMapping()Convenience method to perform cast fromValueMetaData.getDeclaredTypeMetaData().ClassMappingValueMappingImpl. getDeclaredTypeMapping()ClassMappingFieldMapping. getDeclaringMapping()Convenience method to perform cast fromFieldMetaData.getDeclaringMetaData()ClassMappingFieldMapping. getDefiningMapping()Convenience method to perform cast fromFieldMetaData.getDefiningMetaData()ClassMappingFieldMapping. getEmbeddedMapping()ClassMappingValueMapping. getEmbeddedMapping()Convenience method to perform cast fromValueMetaData.getEmbeddedMetaData().ClassMappingValueMappingImpl. getEmbeddedMapping()ClassMapping[]MappingRepository. getImplementorMappings(Class<?> cls, ClassLoader envLoader, boolean mustExist)ClassMapping[]ClassMapping. getIndependentAssignableMappings()Returns the closest-derived list of non-inter-joinable mapped types assignable to this type.ClassMapping[]FieldMapping. getIndependentTypeMappings()ClassMapping[]ValueMapping. getIndependentTypeMappings()Return all independently-mapped joinable types for this value, depending on whether this value is polymorphic and how the related type is mapped.ClassMapping[]ValueMappingImpl. getIndependentTypeMappings()ClassMapping[]ClassMapping. getJoinablePCSubclassMappings()Return mapped subclasses that are reachable via joins.ClassMappingClassMapping. getJoinablePCSuperclassMapping()Return the nearest mapped superclass that can join to this class.ClassMapping[]ClassMapping. getMappedPCSubclassMappings()Convenience method to perform cast fromClassMetaData.getMappedPCSubclassMetaDatas().ClassMappingClassMapping. getMappedPCSuperclassMapping()Convenience method to perform cast fromClassMetaData.getMappedPCSuperclassMetaData().ClassMappingMappingRepository. getMapping(Class<?> cls, ClassLoader envLoader, boolean mustExist)ClassMappingMappingRepository. getMapping(Object oid, ClassLoader envLoader, boolean mustExist)ClassMapping[]MappingRepository. getMappings()ClassMapping[]ReverseMappingTool. getMappings()Return the generated mappings.ClassMapping[]ClassMapping. getPCSubclassMappings()Convenience method to perform cast fromClassMetaData.getPCSubclassMetaDatas().ClassMappingClassMapping. getPCSuperclassMapping()Convenience method to perform cast fromClassMetaData.getPCSuperclassMetaData().ClassMappingFieldMapping. getTypeMapping()ClassMappingValueMapping. getTypeMapping()Convenience method to perform cast fromValueMetaData.getTypeMetaData().ClassMappingValueMappingImpl. getTypeMapping()ClassMappingReverseMappingTool. newClassMapping(Class cls, Table table)Create a new class to be mapped to a table.Methods in org.apache.openjpa.jdbc.meta with parameters of type ClassMapping Modifier and Type Method Description 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.voidPropertiesReverseCustomizer. customize(ClassMapping cls)voidReverseCustomizer. customize(ClassMapping cls)Customize the given class information produced by the reverse mapping tool.protected ClassStrategyMappingRepository. defaultStrategy(ClassMapping cls)Determine the default strategy to use for the given class.protected ClassStrategyMappingRepository. defaultStrategy(ClassMapping cls, boolean adapting)Determine the default strategy to use for the given class.protected ClassMappingMappingRepository. findBaseClassMapping(ClassMapping mapping)Finds the base class mapping for the specified mapping.Class<?>Discriminator. getClass(JDBCStore store, ClassMapping base, Result result)Class<?>DiscriminatorStrategy. getClass(JDBCStore store, ClassMapping base, Result result)Return the class for the current result row.StringPropertiesReverseCustomizer. getClassCode(ClassMapping mapping)StringReverseCustomizer. getClassCode(ClassMapping mapping)Return a code template for the given class, or null to use the standard system-generated Java code.SQLBufferDiscriminator. getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subs)SQLBufferDiscriminatorStrategy. getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subs)Return SQL to limit the classes selected as much as possible to the given base class, and optionally its subclasses.Column[]ClassMappingInfo. getDataStoreIdColumns(ClassMapping cls, Column[] tmplates, Table table, boolean adapt)Return the datastore identity columns for the given class, based on the given templates.StringPropertiesReverseCustomizer. getFieldName(ClassMapping dec, Column[] cols, ForeignKey fk, String defaultName)StringReverseCustomizer. getFieldName(ClassMapping dec, Column[] cols, ForeignKey fk, String defaultName)Return the field name used to map the given columns, or null to prevent the columns from being mapped.StringReverseMappingTool. getFieldName(String name, ClassMapping dec)Return a default Java identifier-formatted name for the given column/table name.ForeignKeyFieldMapping. getForeignKey(ClassMapping target)ForeignKeyValueMapping. getForeignKey(ClassMapping target)Return an equivalent of this value's foreign key, but joining to the given target, which may be an unjoined subclass of this value's related type.ForeignKeyValueMappingImpl. getForeignKey(ClassMapping target)ForeignKeyValueMappingImpl. getForeignKey(ClassMapping target, int targetNumber)ForeignKeyMappingDefaults. getJoinForeignKey(ClassMapping cls, Table local, Table foreign)Return a default foreign key for the join from this class' table to its superclass' table, or null for a logical foreign key only.ForeignKeyMappingDefaultsImpl. getJoinForeignKey(ClassMapping cls, Table local, Table foreign)ForeignKeyNoneMappingDefaults. getJoinForeignKey(ClassMapping cls, Table local, Table foreign)DBIdentifierMappingDefaults. getPrimaryKeyIdentifier(ClassMapping cm, Table table)Return the name of the primary key for the table of the given class, or null for database default.DBIdentifierMappingDefaultsImpl. getPrimaryKeyIdentifier(ClassMapping cm, Table table)DBIdentifierNoneMappingDefaults. getPrimaryKeyIdentifier(ClassMapping cm, Table table)StringMappingDefaults. getPrimaryKeyName(ClassMapping cm, Table table)Deprecated.StringMappingDefaultsImpl. getPrimaryKeyName(ClassMapping cm, Table table)Deprecated.StringNoneMappingDefaults. getPrimaryKeyName(ClassMapping cm, Table table)ObjectMappingDefaults. getStrategy(ClassMapping cls, boolean adapt)Default mapping strategy when there is no explicit strategy and no hierarchy strategy given.ObjectMappingDefaultsImpl. getStrategy(ClassMapping cls, boolean adapt)ObjectNoneMappingDefaults. getStrategy(ClassMapping cls, boolean adapt)ForeignKeyClassMappingInfo. getSuperclassJoin(ClassMapping cls, Table table, boolean adapt)Return the join from this class to its superclass.TableClassMappingInfo. getTable(ClassMapping cls, boolean adapt)Return the primary table for the given class.TableClassMappingInfo. getTable(ClassMapping cls, String tableName, boolean adapt)Deprecated.TableClassMappingInfo. getTable(ClassMapping cls, DBIdentifier tableName, boolean adapt)Return the named table for the given class.DBIdentifierMappingDefaults. getTableIdentifier(ClassMapping cls, Schema defaultSchema)Return the default table name for the given class.DBIdentifierMappingDefaultsImpl. getTableIdentifier(ClassMapping cls, Schema schema)DBIdentifierNoneMappingDefaults. getTableIdentifier(ClassMapping cls, Schema defaultSchema)StringMappingDefaults. getTableName(ClassMapping cls, Schema defaultSchema)Deprecated.StringMappingDefaultsImpl. getTableName(ClassMapping cls, Schema schema)StringNoneMappingDefaults. getTableName(ClassMapping cls, Schema schema)booleanDiscriminator. hasClassConditions(ClassMapping base, boolean subs)booleanDiscriminatorStrategy. hasClassConditions(ClassMapping base, boolean subs)Whether any class conditions are necessary.protected booleanMappingRepository. hasInheritanceStrategy(ClassMapping mapping)Determines whether an inhertance strategy has been set on the specified mapping.voidMappingStrategyInstaller. installStrategy(ClassMapping cls)voidNoneStrategyInstaller. installStrategy(ClassMapping cls)voidRefreshStrategyInstaller. installStrategy(ClassMapping cls)voidRuntimeStrategyInstaller. installStrategy(ClassMapping cls)abstract voidStrategyInstaller. installStrategy(ClassMapping cls)Install a strategy on the given mapping.protected ClassStrategyMappingRepository. instantiateClassStrategy(String name, ClassMapping cls)Return the strategy for the given name.protected ClassStrategyMappingRepository. namedStrategy(ClassMapping cls)Instantiate the given class' named strategy, or return null if no named strategy.protected DiscriminatorMappingRepository. newDiscriminator(ClassMapping cls)Create discriminator metadata for the given class.FieldMappingReverseMappingTool. newFieldMapping(String name, Class type, Column col, ForeignKey fk, ClassMapping dec)Create a field mapping for the given info, or return null if customizer rejects.protected ClassMappingInfoMappingRepository. newMappingInfo(ClassMapping cls)Create raw mapping info for the given instance.protected VersionMappingRepository. newVersion(ClassMapping cls)Create version metadata for the given class.voidFieldMapping. orderLocal(Select sel, ClassMapping elem, Joins joins)Add ordering to the given select for all non-relation order values, including the synthetic order column, if any.voidFieldMapping. orderRelation(Select sel, ClassMapping elem, Joins joins)Add ordering to the given select for all relation-based values.voidMappingDefaults. populateDataStoreIdColumns(ClassMapping cls, Table table, Column[] cols)Fill in default information for the given datastore identity columns.voidMappingDefaultsImpl. populateDataStoreIdColumns(ClassMapping cls, Table table, Column[] cols)voidNoneMappingDefaults. populateDataStoreIdColumns(ClassMapping cls, Table table, Column[] cols)voidMappingDefaults. populateJoinColumn(ClassMapping cm, Table local, Table foreign, Column col, Object target, int pos, int cols)Fill in default information for the given column used to join a class to its superclass table.voidMappingDefaultsImpl. populateJoinColumn(ClassMapping cm, Table local, Table foreign, Column col, Object target, int pos, int cols)voidNoneMappingDefaults. populateJoinColumn(ClassMapping cm, Table local, Table foreign, Column col, Object target, int pos, int cols)booleanDiscriminator. select(Select sel, ClassMapping mapping)booleanDiscriminatorStrategy. select(Select sel, ClassMapping mapping)Select the data for this Discriminator.booleanVersion. select(Select sel, ClassMapping mapping)booleanVersionStrategy. select(Select sel, ClassMapping mapping)Select the data for this indicator.voidClassMapping. setClassMapping(ClassMapping owner)voidClassStrategy. setClassMapping(ClassMapping owner)Set the class mapping using this strategy.protected voidMappingRepository. setDefaultInheritanceStrategy(ClassMapping mapping)If an inheritance strategy has not been set on this mapping, set it to the default (flat).booleanClassMapping. supportsEagerSelect(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch)booleanClassStrategy. supportsEagerSelect(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch)Return true if this strategy can perform the given select from the givenbasemapping.voidClassMappingInfo. syncWith(ClassMapping cls)Synchronize internal information with the mapping data for the given class.Constructors in org.apache.openjpa.jdbc.meta with parameters of type ClassMapping Constructor Description Discriminator(ClassMapping mapping)Constructor.FieldMapping(String name, Class<?> type, ClassMapping owner)Constructor.Version(ClassMapping mapping)Constructor. - 
Uses of ClassMapping in org.apache.openjpa.jdbc.meta.strats
Fields in org.apache.openjpa.jdbc.meta.strats declared as ClassMapping Modifier and Type Field Description protected ClassMappingAbstractClassStrategy. clsThe owning class mapping.Methods in org.apache.openjpa.jdbc.meta.strats that return ClassMapping Modifier and Type Method Description protected abstract ClassMapping[]ContainerFieldStrategy. getIndependentElementMappings(boolean traverse)Return all independent mappings to which this strategy must join in order to access collection elements, or empty array if none.ClassMapping[]HandlerCollectionTableFieldStrategy. getIndependentElementMappings(boolean traverse)ClassMapping[]LRSCollectionFieldStrategy. getIndependentElementMappings(boolean traverse)Return all independent mappings to which this strategy must join in order to access collection elements, or empty array if none.protected ClassMapping[]MapTableFieldStrategy. getIndependentElementMappings(boolean traverse)ClassMapping[]RelationCollectionInverseKeyFieldStrategy. getIndependentElementMappings(boolean traverse)ClassMapping[]RelationCollectionTableFieldStrategy. getIndependentElementMappings(boolean traverse)protected ClassMapping[]RelationToManyInverseKeyFieldStrategy. getIndependentElementMappings(boolean traverse)protected ClassMapping[]RelationToManyTableFieldStrategy. getIndependentElementMappings(boolean traverse)ClassMapping[]LRSMapFieldStrategy. getIndependentKeyMappings(boolean traverse)Return all independent mappings to which this strategy must join in order to access map keys, or empty array if none.ClassMapping[]MapTableFieldStrategy. getIndependentKeyMappings(boolean traverse)ClassMapping[]RelationMapInverseKeyFieldStrategy. getIndependentKeyMappings(boolean traverse)ClassMapping[]RelationMapTableFieldStrategy. getIndependentKeyMappings(boolean traverse)ClassMapping[]LRSMapFieldStrategy. getIndependentValueMappings(boolean traverse)Return all independent mappings to which this strategy must join in order to access map values, or empty array if none.ClassMapping[]MapTableFieldStrategy. getIndependentValueMappings(boolean traverse)ClassMapping[]RelationMapInverseKeyFieldStrategy. getIndependentValueMappings(boolean traverse)ClassMapping[]RelationMapTableFieldStrategy. getIndependentValueMappings(boolean traverse)Methods in org.apache.openjpa.jdbc.meta.strats with parameters of type ClassMapping Modifier and Type Method Description ClassAbstractDiscriminatorStrategy. getClass(JDBCStore store, ClassMapping base, Result result)ClassInValueDiscriminatorStrategy. getClass(JDBCStore store, ClassMapping base, Result res)ClassSubclassJoinDiscriminatorStrategy. getClass(JDBCStore store, ClassMapping base, Result res)ClassSuperclassDiscriminatorStrategy. getClass(JDBCStore store, ClassMapping base, Result res)SQLBufferAbstractDiscriminatorStrategy. getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subs)SQLBufferInValueDiscriminatorStrategy. getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subclasses)SQLBufferSubclassJoinDiscriminatorStrategy. getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subclasses)SQLBufferSuperclassDiscriminatorStrategy. getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subclasses)protected ObjectClassNameDiscriminatorStrategy. getDiscriminatorValue(ClassMapping cls)protected abstract ObjectInValueDiscriminatorStrategy. getDiscriminatorValue(ClassMapping cls)Return the discriminator value for the given type.protected ObjectValueMapDiscriminatorStrategy. getDiscriminatorValue(ClassMapping cls)Column[]HandlerCollectionTableFieldStrategy. getElementColumns(ClassMapping elem)Column[]LRSCollectionFieldStrategy. getElementColumns(ClassMapping elem)Return the columns holding the data for a collection element for the given element mapping fromLRSCollectionFieldStrategy.getIndependentElementMappings(boolean)(or null).Column[]RelationCollectionInverseKeyFieldStrategy. getElementColumns(ClassMapping elem)Column[]RelationCollectionTableFieldStrategy. getElementColumns(ClassMapping elem)ForeignKeyHandlerCollectionTableFieldStrategy. getJoinForeignKey(ClassMapping elem)ForeignKeyLRSCollectionFieldStrategy. getJoinForeignKey(ClassMapping elem)Return the foreign key used to join to the owning field for the given element mapping fromLRSCollectionFieldStrategy.getIndependentElementMappings(boolean)(or null).ForeignKeyLRSMapFieldStrategy. getJoinForeignKey(ClassMapping cls)Return the foreign key used to join to the owning field for the given mapping from eitherLRSMapFieldStrategy.getIndependentKeyMappings(boolean)orLRSMapFieldStrategy.getIndependentValueMappings(boolean)(or null).ForeignKeyMapTableFieldStrategy. getJoinForeignKey(ClassMapping cls)ForeignKeyRelationCollectionInverseKeyFieldStrategy. getJoinForeignKey(ClassMapping elem)ForeignKeyRelationCollectionTableFieldStrategy. getJoinForeignKey(ClassMapping elem)ForeignKeyRelationMapInverseKeyFieldStrategy. getJoinForeignKey(ClassMapping cls)ForeignKeyRelationMapTableFieldStrategy. getJoinForeignKey(ClassMapping cls)protected ForeignKeyRelationToManyInverseKeyFieldStrategy. getJoinForeignKey(ClassMapping elem)protected ForeignKeyRelationToManyTableFieldStrategy. getJoinForeignKey(ClassMapping elem)protected abstract ForeignKeyStoreCollectionFieldStrategy. getJoinForeignKey(ClassMapping elem)Return the foreign key used to join to the owning field for the given element mapping fromContainerFieldStrategy.getIndependentElementMappings(boolean)(or null).Column[]HandlerHandlerMapTableFieldStrategy. getKeyColumns(ClassMapping cls)Column[]HandlerRelationMapTableFieldStrategy. getKeyColumns(ClassMapping cls)Column[]LRSMapFieldStrategy. getKeyColumns(ClassMapping cls)Return the columns holding data for a map key for the given key mapping fromLRSMapFieldStrategy.getIndependentKeyMappings(boolean)orLRSMapFieldStrategy.getIndependentValueMappings(boolean)(or null).Column[]RelationHandlerMapTableFieldStrategy. getKeyColumns(ClassMapping cls)Column[]RelationMapInverseKeyFieldStrategy. getKeyColumns(ClassMapping cls)Column[]RelationMapTableFieldStrategy. getKeyColumns(ClassMapping cls)Column[]RelationRelationMapTableFieldStrategy. getKeyColumns(ClassMapping cls)Column[]HandlerHandlerMapTableFieldStrategy. getValueColumns(ClassMapping cls)Column[]HandlerRelationMapTableFieldStrategy. getValueColumns(ClassMapping cls)Column[]LRSMapFieldStrategy. getValueColumns(ClassMapping cls)Return the columns holding data for a map value for the given value mapping fromLRSMapFieldStrategy.getIndependentKeyMappings(boolean)orLRSMapFieldStrategy.getIndependentValueMappings(boolean)(or null).Column[]RelationHandlerMapTableFieldStrategy. getValueColumns(ClassMapping cls)Column[]RelationMapInverseKeyFieldStrategy. getValueColumns(ClassMapping cls)Column[]RelationMapTableFieldStrategy. getValueColumns(ClassMapping cls)Column[]RelationRelationMapTableFieldStrategy. getValueColumns(ClassMapping cls)booleanAbstractDiscriminatorStrategy. hasClassConditions(ClassMapping base, boolean subs)booleanInValueDiscriminatorStrategy. hasClassConditions(ClassMapping base, boolean subclasses)booleanSubclassJoinDiscriminatorStrategy. hasClassConditions(ClassMapping base, boolean subclasses)booleanSuperclassDiscriminatorStrategy. hasClassConditions(ClassMapping base, boolean subclasses)protected JoinsHandlerCollectionTableFieldStrategy. join(Joins joins, ClassMapping elem)JoinsRelationCollectionInverseKeyFieldStrategy. join(Joins joins, ClassMapping elem)JoinsRelationCollectionTableFieldStrategy. join(Joins joins, ClassMapping elem)protected JoinsRelationToManyInverseKeyFieldStrategy. join(Joins joins, ClassMapping elem)protected JoinsRelationToManyTableFieldStrategy. join(Joins joins, ClassMapping elem)protected abstract JoinsStoreCollectionFieldStrategy. join(Joins joins, ClassMapping elem)Join to the owning field table for the given element mapping fromContainerFieldStrategy.getIndependentElementMappings(boolean)(or null).JoinsHandlerCollectionTableFieldStrategy. joinElementRelation(Joins joins, ClassMapping elem)JoinsLRSCollectionFieldStrategy. joinElementRelation(Joins joins, ClassMapping elem)Join this value's table to the table for the given element mapping fromLRSCollectionFieldStrategy.getIndependentElementMappings(boolean)(or null).JoinsRelationCollectionInverseKeyFieldStrategy. joinElementRelation(Joins joins, ClassMapping elem)JoinsRelationCollectionTableFieldStrategy. joinElementRelation(Joins joins, ClassMapping elem)protected JoinsRelationToManyInverseKeyFieldStrategy. joinElementRelation(Joins joins, ClassMapping elem)protected JoinsRelationToManyTableFieldStrategy. joinElementRelation(Joins joins, ClassMapping elem)protected abstract JoinsStoreCollectionFieldStrategy. joinElementRelation(Joins joins, ClassMapping elem)Join this value's table to the table for the given element mapping fromContainerFieldStrategy.getIndependentElementMappings(boolean)(or null).JoinsLRSMapFieldStrategy. joinKeyRelation(Joins joins, ClassMapping key)Join this value's table to the table for the given key mapping fromLRSMapFieldStrategy.getIndependentKeyMappings(boolean)(or null).JoinsMapTableFieldStrategy. joinKeyRelation(Joins joins, ClassMapping key)JoinsRelationHandlerMapTableFieldStrategy. joinKeyRelation(Joins joins, ClassMapping key)JoinsRelationMapInverseKeyFieldStrategy. joinKeyRelation(Joins joins, ClassMapping key)JoinsRelationMapTableFieldStrategy. joinKeyRelation(Joins joins, ClassMapping key)JoinsRelationRelationMapTableFieldStrategy. joinKeyRelation(Joins joins, ClassMapping key)JoinsHandlerRelationMapTableFieldStrategy. joinValueRelation(Joins joins, ClassMapping val)JoinsLRSMapFieldStrategy. joinValueRelation(Joins joins, ClassMapping val)Join this value's table to the table for the given value mapping fromLRSMapFieldStrategy.getIndependentValueMappings(boolean)(or null).JoinsMapTableFieldStrategy. joinValueRelation(Joins joins, ClassMapping val)InvokesFieldStrategy.joinRelation(org.apache.openjpa.jdbc.sql.Joins, boolean, boolean)by default.JoinsRelationMapInverseKeyFieldStrategy. joinValueRelation(Joins joins, ClassMapping val)JoinsRelationMapTableFieldStrategy. joinValueRelation(Joins joins, ClassMapping val)JoinsRelationRelationMapTableFieldStrategy. joinValueRelation(Joins joins, ClassMapping val)booleanAbstractDiscriminatorStrategy. select(Select sel, ClassMapping mapping)booleanAbstractVersionStrategy. select(Select sel, ClassMapping mapping)booleanColumnVersionStrategy. select(Select sel, ClassMapping mapping)booleanInValueDiscriminatorStrategy. select(Select sel, ClassMapping mapping)booleanSubclassJoinDiscriminatorStrategy. select(Select sel, ClassMapping mapping)protected JoinsStoreCollectionFieldStrategy. selectAll(Select sel, ClassMapping elem, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)Select data for loading, starting in field table.voidHandlerCollectionTableFieldStrategy. selectElement(Select sel, ClassMapping elem, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins joins)voidLRSCollectionFieldStrategy. selectElement(Select sel, ClassMapping elem, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins joins)Implement this method to select the elements of this field for the given element mapping fromLRSCollectionFieldStrategy.getIndependentElementMappings(boolean)(or null).voidRelationCollectionInverseKeyFieldStrategy. selectElement(Select sel, ClassMapping elem, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins joins)voidRelationCollectionTableFieldStrategy. selectElement(Select sel, ClassMapping elem, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins joins)protected voidRelationToManyInverseKeyFieldStrategy. selectElement(Select sel, ClassMapping elem, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins joins)protected voidRelationToManyTableFieldStrategy. selectElement(Select sel, ClassMapping elem, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins joins)protected abstract voidStoreCollectionFieldStrategy. selectElement(Select sel, ClassMapping elem, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins joins)Implement this method to select the elements of this field for the given element mapping fromContainerFieldStrategy.getIndependentElementMappings(boolean)(or null).voidHandlerHandlerMapTableFieldStrategy. selectKey(Select sel, ClassMapping cls, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidHandlerRelationMapTableFieldStrategy. selectKey(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidLRSMapFieldStrategy. selectKey(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)Implement this method to select the keys of this field.voidRelationHandlerMapTableFieldStrategy. selectKey(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidRelationMapInverseKeyFieldStrategy. selectKey(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidRelationMapTableFieldStrategy. selectKey(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidRelationRelationMapTableFieldStrategy. selectKey(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidHandlerHandlerMapTableFieldStrategy. selectValue(Select sel, ClassMapping cls, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidHandlerRelationMapTableFieldStrategy. selectValue(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidLRSMapFieldStrategy. selectValue(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)Implement this method to select the values of this field.voidRelationHandlerMapTableFieldStrategy. selectValue(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidRelationMapInverseKeyFieldStrategy. selectValue(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidRelationMapTableFieldStrategy. selectValue(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidRelationRelationMapTableFieldStrategy. selectValue(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidAbstractClassStrategy. setClassMapping(ClassMapping owner)voidNoneClassStrategy. setClassMapping(ClassMapping owner)booleanAbstractClassStrategy. supportsEagerSelect(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch)booleanFullClassStrategy. supportsEagerSelect(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch)booleanVerticalClassStrategy. supportsEagerSelect(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch) - 
Uses of ClassMapping in org.apache.openjpa.jdbc.sql
Fields in org.apache.openjpa.jdbc.sql declared as ClassMapping Modifier and Type Field Description protected ClassMapping[]LogicalUnion. mappingsMethods in org.apache.openjpa.jdbc.sql that return ClassMapping Modifier and Type Method Description ClassMappingAbstractResult. getBaseMapping()ClassMappingMergedResult. getBaseMapping()ClassMappingResult. getBaseMapping()If this is the result of a UNION used to select a hierarchy of mappings, the base mapping represented by the current row.ClassMappingJoin. getRelationTarget()If joining a relation, the target type.ClassMappingLogicalUnion.UnionSelect. getTablePerClassMeta()ClassMappingSelect. getTablePerClassMeta()get table-per-class metadata for polymorphic queriesClassMappingSelectImpl. getTablePerClassMeta()Methods in org.apache.openjpa.jdbc.sql with parameters of type ClassMapping Modifier and Type Method Description voidLogicalUnion.UnionSelect. groupBy(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch)voidLogicalUnion.UnionSelect. groupBy(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidSelect. groupBy(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch)Group by the columns of the given mapping, possibly including subclasses.voidSelect. groupBy(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)Group by the columns of the given mapping, possibly including subclasses.voidSelectImpl. groupBy(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch)voidSelectImpl. groupBy(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)JoinsJoins. joinRelation(String name, ForeignKey fk, ClassMapping target, int subclasses, boolean inverse, boolean toMany)Join the columns of the given foreign key, which represents a relation via the given field name.JoinsSelectImpl. joinRelation(String name, ForeignKey fk, ClassMapping target, int subs, boolean inverse, boolean toMany)JoinsSelectImpl.SelectResult. joinRelation(String name, ForeignKey fk, ClassMapping target, int subs, boolean inverse, boolean toMany)ObjectAbstractResult. load(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch)ObjectAbstractResult. load(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)ObjectMergedResult. load(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch)ObjectMergedResult. load(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)ObjectResult. load(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch)Load a pc object using the given store manager.ObjectResult. load(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)Load a pc object using the given store manager.ObjectSelectImpl.SelectResult. load(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)intLogicalUnion.UnionSelect. orderByPrimaryKey(ClassMapping mapping, boolean asc, boolean select)intLogicalUnion.UnionSelect. orderByPrimaryKey(ClassMapping mapping, boolean asc, Joins joins, boolean select)intSelect. orderByPrimaryKey(ClassMapping mapping, boolean asc, boolean sel)Order on the primary key columns of the given mapping, joining to superclasses as necessary to get all columns needed to construct an object id.intSelect. orderByPrimaryKey(ClassMapping mapping, boolean asc, Joins joins, boolean sel)Select and order on the primary key columns of the given mapping, joining to superclasses as necessary to get all columns needed to construct an object id.intSelectImpl. orderByPrimaryKey(ClassMapping mapping, boolean asc, boolean sel)intSelectImpl. orderByPrimaryKey(ClassMapping mapping, boolean asc, Joins joins, boolean sel)intSelectImpl. orderByPrimaryKey(ClassMapping mapping, boolean asc, Joins joins, boolean sel, boolean aliasOrder)Allow unions to set aliases on order columns.JoinsJoins. outerJoinRelation(String name, ForeignKey fk, ClassMapping target, int subclasses, boolean inverse, boolean toMany)Join the columns of the given foreign key, which represents a relation via the given field name.JoinsSelectImpl. outerJoinRelation(String name, ForeignKey fk, ClassMapping target, int subs, boolean inverse, boolean toMany)JoinsSelectImpl.SelectResult. outerJoinRelation(String name, ForeignKey fk, ClassMapping target, int subs, boolean inverse, boolean toMany)voidLogicalUnion.UnionSelect. select(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager)voidLogicalUnion.UnionSelect. select(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager, Joins joins)voidSelect. select(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager)Select the columns of the given mapping, possibly including subclasses.voidSelect. select(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager, Joins joins)Select the columns of the given mapping, possibly including subclasses.voidSelectImpl. select(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager)voidSelectImpl. select(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager, Joins joins)voidLogicalUnion.UnionSelect. selectIdentifier(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager)voidLogicalUnion.UnionSelect. selectIdentifier(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager, Joins joins)voidSelect. selectIdentifier(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager)Select the columns of the given mapping, possibly including subclasses.voidSelect. selectIdentifier(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager, Joins joins)Select the columns of the given mapping, possibly including subclasses.voidSelectImpl. selectIdentifier(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager)voidSelectImpl. selectIdentifier(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager, Joins joins)intLogicalUnion.UnionSelect. selectPrimaryKey(ClassMapping mapping)intLogicalUnion.UnionSelect. selectPrimaryKey(ClassMapping mapping, Joins joins)intSelect. selectPrimaryKey(ClassMapping mapping)Select the primary key columns of the given mapping, joining to superclasses as necessary to get all columns needed to construct an object id.intSelect. selectPrimaryKey(ClassMapping mapping, Joins joins)Select the primary key columns of the given mapping, joining to superclasses as necessary to get all columns needed to construct an object id.intSelectImpl. selectPrimaryKey(ClassMapping mapping)intSelectImpl. selectPrimaryKey(ClassMapping mapping, Joins joins)voidAbstractResult. setBaseMapping(ClassMapping base)voidMergedResult. setBaseMapping(ClassMapping mapping)voidResult. setBaseMapping(ClassMapping mapping)If this is the result of a UNION used to select a hierarchy of mappings, the base mapping represented by the current row.voidJoin. setRelation(ClassMapping target, int subs, Joins joins)When joining a relation, set target type and how to deal with subclasses.voidLogicalUnion.UnionSelect. setTablePerClassMeta(ClassMapping meta)voidSelect. setTablePerClassMeta(ClassMapping meta)Set table-per-class metadata for polymorphic queriesvoidSelectImpl. setTablePerClassMeta(ClassMapping meta)protected SQLBufferDBDictionary. toBulkOperation(ClassMapping mapping, Select sel, JDBCStore store, Object[] params, Map updateParams)Returns the SQL for a bulk operation, either a DELETE or an UPDATE.SQLBufferDBDictionary. toDelete(ClassMapping mapping, Select sel, Object[] params)Create a DELETE statement for the specified Select.SQLBufferDBDictionary. toUpdate(ClassMapping mapping, Select sel, JDBCStore store, Object[] params, Map updates)booleanDBDictionary. validateBatchProcess(RowImpl row, Column[] autoAssign, OpenJPAStateManager sm, ClassMapping cmd)Validate the batch process.booleanDBDictionary. validateDBSpecificBatchProcess(boolean disableBatch, RowImpl row, Column[] autoAssign, OpenJPAStateManager sm, ClassMapping cmd)Allow each Dictionary to validate its own batch process.voidLogicalUnion.UnionSelect. whereForeignKey(ForeignKey fk, Object oid, ClassMapping mapping, JDBCStore store)voidSelect. whereForeignKey(ForeignKey fk, Object oid, ClassMapping mapping, JDBCStore store)Add where conditions setting the given foreign key to the given oid values.voidSelectImpl. whereForeignKey(ForeignKey fk, Object oid, ClassMapping mapping, JDBCStore store)voidLogicalUnion.UnionSelect. wherePrimaryKey(Object oid, ClassMapping mapping, JDBCStore store)voidSelect. wherePrimaryKey(Object oid, ClassMapping mapping, JDBCStore store)Add where conditions setting the mapping's primary key to the given oid values.voidSelectImpl. wherePrimaryKey(Object oid, ClassMapping mapping, JDBCStore store) - 
Uses of ClassMapping in org.apache.openjpa.persistence.jdbc
Methods in org.apache.openjpa.persistence.jdbc that return ClassMapping Modifier and Type Method Description static ClassMappingAnnotationPersistenceMappingParser. getEmbeddedMapping(ValueMapping val)static ClassMappingAnnotationPersistenceMappingParser. getEmbeddedMapping(ValueMapping val, boolean createNew)Methods in org.apache.openjpa.persistence.jdbc with parameters of type ClassMapping Modifier and Type Method Description static FieldMappingAnnotationPersistenceMappingParser. getAttributeOverrideField(String attrName, FieldMapping fm, ClassMapping embed)StringPersistenceMappingDefaults. getTableName(ClassMapping cls, Schema schema)protected booleanAnnotationPersistenceMappingParser. handleUnknownClassMappingAnnotation(ClassMapping cls, Annotation anno)Allow subclasses to handle unknown annotations. 
 -