Uses of Class
org.hibernate.MappingException
-
Packages that use MappingException Package Description org.hibernate org.hibernate.boot This package contains the contracts that make up the Hibernate native bootstrapping API (building a SessionFactory).org.hibernate.boot.spi org.hibernate.cfg org.hibernate.cfg.annotations org.hibernate.dialect org.hibernate.dialect.identity org.hibernate.engine.query.spi Defines support for query plans and stored metadata about queriesorg.hibernate.engine.spi org.hibernate.hql.spi org.hibernate.id org.hibernate.id.enhanced Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified configurationorg.hibernate.loader org.hibernate.loader.collection org.hibernate.loader.collection.plan org.hibernate.loader.criteria org.hibernate.loader.entity org.hibernate.mapping org.hibernate.persister.collection org.hibernate.persister.entity org.hibernate.procedure org.hibernate.query org.hibernate.query.spi org.hibernate.type -
-
Uses of MappingException in org.hibernate
Subclasses of MappingException in org.hibernate Modifier and Type Class Description classAnnotationExceptionAnnotation related exception.classDuplicateMappingExceptionRaised whenever a duplicate for a certain type occurs.classInvalidMappingExceptionThrown when a mapping is found to be invalid.classMappingNotFoundExceptionDeprecated.UseMappingNotFoundExceptioninstead.classPropertyNotFoundExceptionIndicates that an expected getter or setter method could not be found on a class.classUnknownEntityTypeExceptionIndicates an attempt was made to refer to an unknown entity name/class.Methods in org.hibernate that throw MappingException Modifier and Type Method Description SQLQuery<T>SQLQuery. addSynchronizedEntityClass(Class entityClass)Deprecated.SynchronizeableQuery<T>SynchronizeableQuery. addSynchronizedEntityClass(Class entityClass)Adds an entity for (a) auto-flush checking and (b) query result cache invalidation checking.default SynchronizeableQuery<T>SynchronizeableQuery. addSynchronizedEntityClass(Class<?>... entityClasses)Adds one-or-more entities (by class) whose tables should be added as synchronized spacesSQLQuery<T>SQLQuery. addSynchronizedEntityName(String entityName)Deprecated.SynchronizeableQuery<T>SynchronizeableQuery. addSynchronizedEntityName(String entityName)Adds an entity name for (a) auto-flush checking and (b) query result cache invalidation checking.default SynchronizeableQuery<T>SynchronizeableQuery. addSynchronizedEntityName(String... entityNames)Adds one-or-more entities (by name) whose tables should be added as synchronized spaces -
Uses of MappingException in org.hibernate.boot
Subclasses of MappingException in org.hibernate.boot Modifier and Type Class Description classInvalidMappingExceptionclassMappingExceptionIndicates a problem parsing a mapping document.classMappingNotFoundExceptionclassUnsupportedOrmXsdVersionException -
Uses of MappingException in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi that throw MappingException Modifier and Type Method Description StringAbstractDelegatingMetadata. getIdentifierPropertyName(String className)TypeAbstractDelegatingMetadata. getIdentifierType(String className)StringInFlightMetadataCollector. getPhysicalColumnName(Table table, String logicalName)StringInFlightMetadataCollector. getPhysicalColumnName(Table table, Identifier logicalName)TypeAbstractDelegatingMetadata. getReferencedPropertyType(String className, String propertyName)voidAbstractDelegatingMetadata. validate()voidMetadataImplementor. validate() -
Uses of MappingException in org.hibernate.cfg
Subclasses of MappingException in org.hibernate.cfg Modifier and Type Class Description classCannotForceNonNullableExceptionIndicates an internal attempt to mark a column as non-nullable (because its part of a PK, etc) but we cannot force that column to be non-nullable.classNotYetImplementedExceptionMapping not yet implementedclassRecoverableExceptionDeprecated.Was only ever referenced in a single place, in an extremely dubious way.Methods in org.hibernate.cfg that throw MappingException Modifier and Type Method Description ConfigurationConfiguration. addCacheableFile(File xmlFile)Add a cached mapping file.ConfigurationConfiguration. addCacheableFile(String xmlFile)Add a cacheable mapping file.ConfigurationConfiguration. addClass(Class persistentClass)Read a mapping as an application resource using the convention that a class named foo.bar.Foo is mapped by a file foo/bar/Foo.hbm.xml which can be resolved as a classpath resource.ConfigurationConfiguration. addDirectory(File dir)Read all mapping documents from a directory tree.ConfigurationConfiguration. addDocument(Document doc)Deprecated.Use addURL, addResource, addFile, etc.ConfigurationConfiguration. addFile(File xmlFile)Read mappings from a particular XML fileConfigurationConfiguration. addFile(String xmlFile)Read mappings from a particular XML fileConfigurationConfiguration. addInputStream(InputStream xmlInputStream)Read mappings from anInputStream.ConfigurationConfiguration. addJar(File jar)Read all mappings from a jar fileConfigurationConfiguration. addPackage(String packageName)Read package-level metadata.ConfigurationConfiguration. addResource(String resourceName)Read mappings as a application resourceName (i.e.ConfigurationConfiguration. addResource(String resourceName, ClassLoader classLoader)Deprecated.This form (accepting a ClassLoader) is no longer supported.ConfigurationConfiguration. addURL(URL url)Read mappings from a URLConfigurationConfiguration. addXML(String xml)Deprecated.No longer supportedstatic voidAnnotationBinder. bindClass(org.hibernate.annotations.common.reflection.XClass clazzToProcess, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass, MetadataBuildingContext context)Bind a class having JSR175 annotations.voidCollectionSecondPass. doSecondPass(Map persistentClasses)voidCopyIdentifierComponentSecondPass. doSecondPass(Map persistentClasses)voidCreateKeySecondPass. doSecondPass(Map persistentClasses)voidIdGeneratorResolverSecondPass. doSecondPass(Map idGeneratorDefinitionMap)voidIndexOrUniqueKeySecondPass. doSecondPass(Map persistentClasses)voidJoinedSubclassFkSecondPass. doSecondPass(Map persistentClasses)voidOneToOneSecondPass. doSecondPass(Map persistentClasses)voidPkDrivenByDefaultMapsIdSecondPass. doSecondPass(Map persistentClasses)voidSecondaryTableSecondPass. doSecondPass(Map persistentClasses)voidSecondPass. doSecondPass(Map persistentClasses)voidSetSimpleValueTypeSecondPass. doSecondPass(Map persistentClasses)voidToOneFkSecondPass. doSecondPass(Map persistentClasses)voidVerifyFetchProfileReferenceSecondPass. doSecondPass(Map persistentClasses)org.hibernate.annotations.common.reflection.XClassPropertyData. getClassOrElement()Returns the returned class itself or the element type if an arrayorg.hibernate.annotations.common.reflection.XClassPropertyInferredData. getClassOrElement()org.hibernate.annotations.common.reflection.XClassPropertyPreloadedData. getClassOrElement()org.hibernate.annotations.common.reflection.XClassWrappedInferredData. getClassOrElement()StringPropertyData. getClassOrElementName()Returns the returned class name itself or the element type if an arrayStringPropertyInferredData. getClassOrElementName()StringPropertyPreloadedData. getClassOrElementName()StringWrappedInferredData. getClassOrElementName()AccessTypePropertyInferredData. getDefaultAccess()AccessTypePropertyPreloadedData. getDefaultAccess()org.hibernate.annotations.common.reflection.XClassPropertyData. getPropertyClass()Return the class itselforg.hibernate.annotations.common.reflection.XClassPropertyInferredData. getPropertyClass()org.hibernate.annotations.common.reflection.XClassPropertyPreloadedData. getPropertyClass()org.hibernate.annotations.common.reflection.XClassWrappedInferredData. getPropertyClass()StringPropertyData. getPropertyName()StringPropertyInferredData. getPropertyName()StringPropertyPreloadedData. getPropertyName()StringWrappedInferredData. getPropertyName()StringPropertyData. getTypeName()Returns the returned class name itselfStringPropertyInferredData. getTypeName()StringPropertyPreloadedData. getTypeName()StringWrappedInferredData. getTypeName() -
Uses of MappingException in org.hibernate.cfg.annotations
Methods in org.hibernate.cfg.annotations that throw MappingException Modifier and Type Method Description voidResultsetMappingSecondPass. doSecondPass(Map persistentClasses) -
Uses of MappingException in org.hibernate.dialect
Methods in org.hibernate.dialect that throw MappingException Modifier and Type Method Description StringTypeNames. get(int typeCode)get default type name for specified typeStringTypeNames. get(int typeCode, long size, int precision, int scale)get type name for specified type and sizeprotected StringAbstractHANADialect. getCreateSequenceString(String sequenceName, int initialValue, int incrementSize)protected StringDialect. getCreateSequenceString(String sequenceName)Typically dialects which support sequences can create a sequence with a single command.protected StringDialect. getCreateSequenceString(String sequenceName, int initialValue, int incrementSize)Overloaded form ofDialect.getCreateSequenceString(String), additionally taking the initial value and increment size to be applied to the sequence definition.protected StringHSQLDialect. getCreateSequenceString(String sequenceName, int initialValue, int incrementSize)Because of the overriddenHSQLDialect.getCreateSequenceString(String), we must also overrideHSQLDialect.getCreateSequenceString(String, int, int)to prevent 2 instances of "start with".protected StringMariaDB103Dialect. getCreateSequenceString(String sequenceName, int initialValue, int incrementSize)String[]Dialect. getCreateSequenceStrings(String sequenceName)Deprecated.String[]Dialect. getCreateSequenceStrings(String sequenceName, int initialValue, int incrementSize)An optional multi-line form for databases whichDialect.supportsPooledSequences().protected StringDialect. getDropSequenceString(String sequenceName)Typically dialects which support sequences can drop a sequence with a single command.String[]Dialect. getDropSequenceStrings(String sequenceName)The multiline script used to drop a sequence.StringDB2Dialect. getSelectSequenceNextValString(String sequenceName)StringDialect. getSelectSequenceNextValString(String sequenceName)Generate the select expression fragment that will retrieve the next value of a sequence as part of another (typically DML) statement.StringDialect. getSequenceNextValString(String sequenceName)Generate the appropriate select statement to to retrieve the next value of a sequence. -
Uses of MappingException in org.hibernate.dialect.identity
Methods in org.hibernate.dialect.identity that throw MappingException Modifier and Type Method Description StringAbstractTransactSQLIdentityColumnSupport. getIdentityColumnString(int type)StringChache71IdentityColumnSupport. getIdentityColumnString(int type)StringIdentityColumnSupport. getIdentityColumnString(int type)The syntax used during DDL to define a column as being an IDENTITY of a particular type.StringIdentityColumnSupportImpl. getIdentityColumnString(int type)StringInformixIdentityColumnSupport. getIdentityColumnString(int type)StringAbstractTransactSQLIdentityColumnSupport. getIdentitySelectString(String table, String column, int type)StringHANAIdentityColumnSupport. getIdentitySelectString(String table, String column, int type)StringIdentityColumnSupport. getIdentitySelectString(String table, String column, int type)Get the select command to use to retrieve the last generated IDENTITY value for a particular tableStringIdentityColumnSupportImpl. getIdentitySelectString(String table, String column, int type)StringInformixIdentityColumnSupport. getIdentitySelectString(String table, String column, int type) -
Uses of MappingException in org.hibernate.engine.query.spi
Methods in org.hibernate.engine.query.spi that throw MappingException Modifier and Type Method Description FilterQueryPlanQueryPlanCache. getFilterQueryPlan(String filterString, String collectionRole, boolean shallow, Map<String,Filter> enabledFilters)Get the query plan for the given collection HQL filter fragment, creating it and caching it if not already cachedHQLQueryPlanQueryPlanCache. getHQLQueryPlan(String queryString, boolean shallow, Map<String,Filter> enabledFilters)Get the query plan for the given HQL query, creating it and caching it if not already cached -
Uses of MappingException in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that throw MappingException Modifier and Type Method Description ObjectPersistenceContext. getCollectionOwner(Serializable key, CollectionPersister collectionPersister)Get the entity that owns this persistent collectionCollectionPersisterSessionFactoryDelegatingImpl. getCollectionPersister(String role)default CollectionPersisterSessionFactoryImplementor. getCollectionPersister(String role)Deprecated.(since 5.2) UseMetamodelImplementor.collectionPersister(String)instead.EntityPersisterSessionFactoryDelegatingImpl. getEntityPersister(String entityName)default EntityPersisterSessionFactoryImplementor. getEntityPersister(String entityName)Deprecated.(since 5.2) UseMetamodelImplementor.entityPersister(Class)instead.StringMapping. getIdentifierPropertyName(String className)StringSessionFactoryDelegatingImpl. getIdentifierPropertyName(String className)TypeMapping. getIdentifierType(String className)TypeSessionFactoryDelegatingImpl. getIdentifierType(String className)String[]SessionFactoryDelegatingImpl. getImplementors(String className)TypeMapping. getReferencedPropertyType(String className, String propertyName)TypeSessionFactoryDelegatingImpl. getReferencedPropertyType(String className, String propertyName)BooleanVersionValue. isUnsaved(Object version)booleanPersistenceContext. reassociateIfUninitializedProxy(Object value)Takes the given object and, if it represents a proxy, reassociates it with this event source.voidPersistenceContext. reassociateProxy(Object value, Serializable id)If a deleted entity instance is re-saved, and it has a proxy, we need to reset the identifier of the proxyConstructors in org.hibernate.engine.spi that throw MappingException Constructor Description CollectionEntry(PersistentCollection collection, SessionFactoryImplementor factory)For initialized detached collections -
Uses of MappingException in org.hibernate.hql.spi
Methods in org.hibernate.hql.spi that throw MappingException Modifier and Type Method Description voidFilterTranslator. compile(String collectionRole, Map replacements, boolean shallow)Compile a filter.voidQueryTranslator. compile(Map replacements, boolean shallow)Compile a "normal" query. -
Uses of MappingException in org.hibernate.id
Methods in org.hibernate.id that throw MappingException Modifier and Type Method Description voidAssigned. configure(Type type, Properties params, ServiceRegistry serviceRegistry)voidConfigurable. configure(Type type, Properties params, ServiceRegistry serviceRegistry)Deprecated.Configure this instance, given the value of parameters specified by the user as <param> elements.voidForeignGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)default voidIdentifierGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)Configure this instance, given the value of parameters specified by the user as <param> elements.voidIncrementGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)voidMultipleHiLoPerTableGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)Deprecated.voidSelectGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)voidSequenceGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)Deprecated.voidSequenceHiLoGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)Deprecated.voidSequenceIdentityGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)Deprecated.voidUUIDGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)voidUUIDHexGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)voidExportableColumn.ValueImpl. createForeignKey()TypeExportableColumn.ValueImpl. getType()booleanExportableColumn.ValueImpl. isValid(Mapping mapping)voidExportableColumn.ValueImpl. setTypeUsingReflection(String className, String propertyName) -
Uses of MappingException in org.hibernate.id.enhanced
Methods in org.hibernate.id.enhanced that throw MappingException Modifier and Type Method Description voidSequenceStyleGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)voidTableGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry) -
Uses of MappingException in org.hibernate.loader
Methods in org.hibernate.loader that throw MappingException Modifier and Type Method Description voidOuterJoinableAssociation. addJoins(JoinFragment outerjoin)voidOuterJoinableAssociation. addManyToManyJoin(JoinFragment outerjoin, QueryableCollection collection)protected static intJoinWalker. countCollectionPersisters(List associations)Count the number of instances of Joinable which are actually also instances of PersistentCollection which are being fetched by outer joinprotected static intJoinWalker. countEntityPersisters(List associations)Count the number of instances of Joinable which are actually also instances of Loadable, or are one-to-many associationsprotected JoinTypeJoinWalker. getJoinType(OuterJoinLoadable persister, PropertyPath path, int propertyNumber, AssociationType associationType, FetchMode metadataFetchMode, CascadeStyle metadataCascadeStyle, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth)Determine the appropriate type of join (if any) to use to fetch the given association.protected JoinTypeJoinWalker. getJoinType(AssociationType associationType, FetchMode config, PropertyPath path, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth, CascadeStyle cascadeStyle)Determine the appropriate associationType of join (if any) to use to fetch the given association.protected StringAbstractEntityJoinWalker. getWhereFragment()protected voidAbstractEntityJoinWalker. initAll(String whereString, String orderByString, LockOptions lockOptions)protected voidAbstractEntityJoinWalker. initAll(String whereString, String orderByString, LockOptions lockOptions, JoinWalker.AssociationInitCallback callback)protected voidJoinWalker. initPersisters(List associations, LockMode lockMode)protected voidJoinWalker. initPersisters(List associations, LockOptions lockOptions)protected voidJoinWalker. initPersisters(List associations, LockOptions lockOptions, JoinWalker.AssociationInitCallback callback)protected voidAbstractEntityJoinWalker. initProjection(String projectionString, String whereString, String orderByString, String groupByString, LockOptions lockOptions)protected booleanJoinWalker. isJoinedFetchEnabledInMapping(FetchMode config, AssociationType type)Does the mapping, and Hibernate default semantics, specify that this association should be fetched by outer joiningprotected JoinFragmentJoinWalker. mergeOuterJoins(List associations)Generate a sequence of LEFT OUTER JOIN clauses for the given associations.protected static StringJoinWalker. orderBy(List associations)Get the order by string required for collection fetchingprotected StringJoinWalker. selectString(List associations)Generate a select list of columns containing all properties of the entity classesvoidOuterJoinableAssociation. validateJoin(String path)protected voidJoinWalker. walkCollectionTree(QueryableCollection persister, String alias)For a collection role, return a list of associations to be fetched by outerjoinprotected voidJoinWalker. walkEntityTree(OuterJoinLoadable persister, String alias)Walk the association tree for an entity, adding associations which should be join fetched to theJoinWalker.associationsinst var.Constructors in org.hibernate.loader that throw MappingException Constructor Description OuterJoinableAssociation(PropertyPath propertyPath, AssociationType joinableType, String lhsAlias, String[] lhsColumns, String rhsAlias, JoinType joinType, String withClause, boolean hasRestriction, SessionFactoryImplementor factory, Map enabledFilters) -
Uses of MappingException in org.hibernate.loader.collection
Methods in org.hibernate.loader.collection that throw MappingException Modifier and Type Method Description protected CollectionInitializerLegacyBatchingCollectionInitializerBuilder. createRealBatchingCollectionInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)CollectionInitializerPaddedBatchingCollectionInitializerBuilder. createRealBatchingCollectionInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)protected CollectionInitializerLegacyBatchingCollectionInitializerBuilder. createRealBatchingOneToManyInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)CollectionInitializerPaddedBatchingCollectionInitializerBuilder. createRealBatchingOneToManyInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)protected JoinTypeBasicCollectionJoinWalker. getJoinType(OuterJoinLoadable persister, PropertyPath path, int propertyNumber, AssociationType associationType, FetchMode metadataFetchMode, CascadeStyle metadataCascadeStyle, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth) -
Uses of MappingException in org.hibernate.loader.collection.plan
Methods in org.hibernate.loader.collection.plan that throw MappingException Modifier and Type Method Description CollectionInitializerLegacyBatchingCollectionInitializerBuilder. createRealBatchingCollectionInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)CollectionInitializerLegacyBatchingCollectionInitializerBuilder. createRealBatchingOneToManyInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) -
Uses of MappingException in org.hibernate.loader.criteria
Methods in org.hibernate.loader.criteria that throw MappingException Modifier and Type Method Description protected JoinTypeCriteriaJoinWalker. getJoinType(OuterJoinLoadable persister, PropertyPath path, int propertyNumber, AssociationType associationType, FetchMode metadataFetchMode, CascadeStyle metadataCascadeStyle, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth)protected JoinTypeCriteriaJoinWalker. getJoinType(AssociationType associationType, FetchMode config, PropertyPath path, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth, CascadeStyle cascadeStyle)protected StringCriteriaJoinWalker. getWhereFragment()Use the discriminator, to narrow the select to instances of the queried subclass, also applying any filters. -
Uses of MappingException in org.hibernate.loader.entity
Methods in org.hibernate.loader.entity that throw MappingException Modifier and Type Method Description Size[]NaturalIdType. defaultSizes(Mapping mapping)Size[]NaturalIdType. dictatedSizes(Mapping mapping)intNaturalIdType. getColumnSpan(Mapping mapping)protected JoinTypeEntityJoinWalker. getJoinType(OuterJoinLoadable persister, PropertyPath path, int propertyNumber, AssociationType associationType, FetchMode metadataFetchMode, CascadeStyle metadataCascadeStyle, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth)int[]NaturalIdType. sqlTypes(Mapping mapping) -
Uses of MappingException in org.hibernate.mapping
Methods in org.hibernate.mapping that throw MappingException Modifier and Type Method Description voidPersistentClass. addSubclass(Subclass subclass)voidRootClass. addSubclass(Subclass subclass)protected voidPersistentClass. checkColumnDuplication(Set distinctColumns, Iterator columns)protected voidPersistentClass. checkPropertyColumnDuplication(Set distinctColumns, Iterator properties)voidCollection. createAllKeys()voidMap. createAllKeys()voidManyToOne. createForeignKey()voidOneToOne. createForeignKey()voidSimpleValue. createForeignKey()abstract voidToOne. createForeignKey()voidValue. createForeignKey()IdentifierGeneratorComponent. createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, String defaultCatalog, String defaultSchema, RootClass rootClass)IdentifierGeneratorKeyValue. createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, String defaultCatalog, String defaultSchema, RootClass rootClass)Deprecated.IdentifierGeneratorKeyValue. createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, RootClass rootClass)IdentifierGeneratorSimpleValue. createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, String defaultCatalog, String defaultSchema, RootClass rootClass)IdentifierGeneratorSimpleValue. createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, RootClass rootClass)CascadeStyleProperty. getCascadeStyle()ClassComponent. getComponentClass()CollectionTypeArray. getDefaultCollectionType()abstract CollectionTypeCollection. getDefaultCollectionType()CollectionTypeList. getDefaultCollectionType()ClassArray. getElementClass()GetterProperty. getGetter(Class clazz)ClassPersistentClass. getMappedClass()PropertyComponent. getProperty(String propertyName)PropertyPersistentClass. getProperty(String propertyName)PropertyAccessStrategyBackref. getPropertyAccessStrategy(Class clazz)PropertyAccessStrategyIndexBackref. getPropertyAccessStrategy(Class clazz)PropertyAccessStrategyProperty. getPropertyAccessStrategy(Class clazz)PropertyPersistentClass. getRecursiveProperty(String propertyPath)PropertyPersistentClass. getReferencedProperty(String propertyPath)Given a property path, locate the appropriate referenceable property reference.SetterProperty. getSetter(Class clazz)intColumn. getSqlTypeCode(Mapping mapping)TypeAny. getType()TypeCollection. getType()TypeComponent. getType()TypeDependantValue. getType()TypeManyToOne. getType()TypeOneToOne. getType()TypeProperty. getType()TypeSimpleValue. getType()abstract TypeToOne. getType()TypeValue. getType()booleanCollection. isValid(Mapping mapping)booleanOneToMany. isValid(Mapping mapping)booleanProperty. isValid(Mapping mapping)booleanSimpleValue. isValid(Mapping mapping)booleanToOne. isValid(Mapping mapping)booleanValue. isValid(Mapping mapping)voidForeignKey. setReferencedTable(Table referencedTable)voidAny. setTypeUsingReflection(String className, String propertyName)voidComponent. setTypeUsingReflection(String className, String propertyName)voidSimpleValue. setTypeUsingReflection(String className, String propertyName)voidToOne. setTypeUsingReflection(String className, String propertyName)voidValue. setTypeUsingReflection(String className, String propertyName)voidCollection. validate(Mapping mapping)voidIdentifierCollection. validate(Mapping mapping)voidIndexedCollection. validate(Mapping mapping)voidJoinedSubclass. validate(Mapping mapping)voidPersistentClass. validate(Mapping mapping)voidRootClass. validate(Mapping mapping)voidSet. validate(Mapping mapping)voidSingleTableSubclass. validate(Mapping mapping)voidUnionSubclass. validate(Mapping mapping) -
Uses of MappingException in org.hibernate.persister.collection
Methods in org.hibernate.persister.collection that throw MappingException Modifier and Type Method Description protected abstract CollectionInitializerAbstractCollectionPersister. createCollectionInitializer(LoadQueryInfluencers loadQueryInfluencers)protected CollectionInitializerBasicCollectionPersister. createCollectionInitializer(LoadQueryInfluencers loadQueryInfluencers)Create the CollectionLoaderprotected CollectionInitializerOneToManyPersister. createCollectionInitializer(LoadQueryInfluencers loadQueryInfluencers)Create the OneToManyLoaderprotected StringAbstractCollectionPersister. filterFragment(String alias)StringAbstractCollectionPersister. filterFragment(String alias, Map enabledFilters)protected StringAbstractCollectionPersister. filterFragment(String alias, Set<String> treatAsDeclarations)StringOneToManyPersister. filterFragment(String alias)protected StringOneToManyPersister. filterFragment(String alias, Set<String> treatAsDeclarations)StringAbstractCollectionPersister. oneToManyFilterFragment(String alias)voidAbstractCollectionPersister. postInstantiate()voidCollectionPersister. postInstantiate()Constructors in org.hibernate.persister.collection that throw MappingException Constructor Description AbstractCollectionPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext)BasicCollectionPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext)CompositeElementPropertyMapping(String[] elementColumns, String[] elementColumnReaders, String[] elementColumnReaderTemplates, String[] elementFormulaTemplates, CompositeType compositeType, Mapping factory)ElementPropertyMapping(String[] elementColumns, Type type)OneToManyPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext) -
Uses of MappingException in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity that throw MappingException Modifier and Type Method Description protected UniqueEntityLoaderAbstractEntityPersister. createEntityLoader(LockMode lockMode)Used internally to create static loaders.protected UniqueEntityLoaderAbstractEntityPersister. createEntityLoader(LockMode lockMode, LoadQueryInfluencers loadQueryInfluencers)protected UniqueEntityLoaderAbstractEntityPersister. createEntityLoader(LockOptions lockOptions, LoadQueryInfluencers loadQueryInfluencers)protected voidAbstractEntityPersister. createNaturalIdLoaders()protected voidAbstractEntityPersister. createUniqueKeyLoaders()Size[]DiscriminatorType. defaultSizes(Mapping mapping)Size[]DiscriminatorType. dictatedSizes(Mapping mapping)protected abstract StringAbstractEntityPersister. filterFragment(String alias)StringAbstractEntityPersister. filterFragment(String alias, Map enabledFilters)StringJoinable. filterFragment(String alias, Map enabledFilters)Get the where clause filter, given a query alias and considering enabled session filtersStringJoinable. filterFragment(String alias, Map enabledFilters, Set<String> treatAsDeclarations)Get the where clause filter, given a query alias and considering enabled session filtersprotected StringSingleTableEntityPersister. filterFragment(String alias)intDiscriminatorType. getColumnSpan(Mapping mapping)TypeAbstractEntityPersister. getPropertyType(String propertyName)Get the type of a particular property by name.TypeEntityPersister. getPropertyType(String propertyName)Get the type of a particular property by name.protected voidAbstractPropertyMapping. initComponentPropertyPaths(String path, CompositeType type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Mapping factory)protected voidAbstractPropertyMapping. initIdentifierPropertyPaths(String path, EntityType etype, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Mapping factory)protected voidAbstractPropertyMapping. initIdentifierPropertyPaths(String path, EntityType etype, String[] columns, String[] columnReaders, String[] columnReaderTemplates, Mapping factory)protected voidAbstractEntityPersister. initPropertyPaths(Mapping mapping)protected voidAbstractPropertyMapping. initPropertyPaths(String path, Type type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Mapping factory)protected voidAbstractEntityPersister. initSubclassPropertyAliasesMap(PersistentClass model)Must be called by subclasses, at the end of their constructorsStringAbstractEntityPersister. oneToManyFilterFragment(String alias)StringJoinable. oneToManyFilterFragment(String alias)StringSingleTableEntityPersister. oneToManyFilterFragment(String alias)protected voidAbstractEntityPersister. postConstruct(Mapping mapping)Post-construct is a callback for AbstractEntityPersister subclasses to call after they are all done with their constructor processing.voidAbstractEntityPersister. postInstantiate()voidEntityPersister. postInstantiate()Finish the initialization of this object.int[]DiscriminatorType. sqlTypes(Mapping mapping) -
Uses of MappingException in org.hibernate.procedure
Subclasses of MappingException in org.hibernate.procedure Modifier and Type Class Description classUnknownSqlResultSetMappingExceptionMethods in org.hibernate.procedure that throw MappingException Modifier and Type Method Description ProcedureCallProcedureCall. addSynchronizedEntityClass(Class entityClass)ProcedureCallProcedureCall. addSynchronizedEntityName(String entityName) -
Uses of MappingException in org.hibernate.query
Methods in org.hibernate.query that throw MappingException Modifier and Type Method Description NativeQuery<T>NativeQuery. addSynchronizedEntityClass(Class entityClass)NativeQuery<T>NativeQuery. addSynchronizedEntityName(String entityName) -
Uses of MappingException in org.hibernate.query.spi
Methods in org.hibernate.query.spi that throw MappingException Modifier and Type Method Description NativeQueryImplementor<T>NativeQueryImplementor. addSynchronizedEntityClass(Class entityClass)NativeQueryImplementor<T>NativeQueryImplementor. addSynchronizedEntityName(String entityName) -
Uses of MappingException in org.hibernate.type
Methods in org.hibernate.type that throw MappingException Modifier and Type Method Description Size[]AbstractStandardBasicType. defaultSizes(Mapping mapping)Size[]AnyType. defaultSizes(Mapping mapping)Size[]CollectionType. defaultSizes(Mapping mapping)Size[]ComponentType. defaultSizes(Mapping mapping)Size[]CompositeCustomType. defaultSizes(Mapping mapping)Size[]CustomType. defaultSizes(Mapping mapping)Size[]ManyToOneType. defaultSizes(Mapping mapping)Size[]MetaType. defaultSizes(Mapping mapping)Size[]OneToOneType. defaultSizes(Mapping mapping)Size[]SpecialOneToOneType. defaultSizes(Mapping mapping)Size[]Type. defaultSizes(Mapping mapping)Defines the column sizes to use according to this type if the user did not explicitly say (and if noType.dictatedSizes(org.hibernate.engine.spi.Mapping)were given).Size[]AbstractStandardBasicType. dictatedSizes(Mapping mapping)Size[]AnyType. dictatedSizes(Mapping mapping)Size[]CollectionType. dictatedSizes(Mapping mapping)Size[]ComponentType. dictatedSizes(Mapping mapping)Size[]CompositeCustomType. dictatedSizes(Mapping mapping)Size[]CustomType. dictatedSizes(Mapping mapping)Size[]ManyToOneType. dictatedSizes(Mapping mapping)Size[]MetaType. dictatedSizes(Mapping mapping)Size[]OneToOneType. dictatedSizes(Mapping mapping)Size[]SpecialOneToOneType. dictatedSizes(Mapping mapping)Size[]Type. dictatedSizes(Mapping mapping)Return the column sizes dictated by this type.StringAssociationType. getAssociatedEntityName(SessionFactoryImplementor factory)Get the entity name of the associated entityStringCollectionType. getAssociatedEntityName(SessionFactoryImplementor factory)JoinableAssociationType. getAssociatedJoinable(SessionFactoryImplementor factory)Get the "persister" for this association - a class or collection persisterJoinableCollectionType. getAssociatedJoinable(SessionFactoryImplementor factory)JoinableEntityType. getAssociatedJoinable(SessionFactoryImplementor factory)Retrieves theJoinabledefining the associated entity.intAbstractStandardBasicType. getColumnSpan(Mapping mapping)intCollectionType. getColumnSpan(Mapping session)intComponentType. getColumnSpan(Mapping mapping)intCompositeCustomType. getColumnSpan(Mapping mapping)intManyToOneType. getColumnSpan(Mapping mapping)intMetaType. getColumnSpan(Mapping mapping)intOneToOneType. getColumnSpan(Mapping session)intSpecialOneToOneType. getColumnSpan(Mapping mapping)intType. getColumnSpan(Mapping mapping)How many columns are used to persist this type.TypeCollectionType. getElementType(SessionFactoryImplementor factory)Get the Hibernate type of the collection elementsStringEntityType. getIdentifierOrUniqueKeyPropertyName(Mapping factory)The name of the property on the associated entity to which our FK refersTypeEntityType. getIdentifierOrUniqueKeyType(Mapping factory)Determine the type of either (1) the identifier if we reference the associated entity's PK or (2) the unique key to which we refer (i.e.StringAssociationType. getOnCondition(String alias, SessionFactoryImplementor factory, Map enabledFilters)Get the "filtering" SQL fragment that is applied in the SQL on clause, in addition to the usual join conditionStringCollectionType. getOnCondition(String alias, SessionFactoryImplementor factory, Map enabledFilters)TypeTypeResolver. heuristicType(String typeName)Deprecated.TypeTypeResolver. heuristicType(String typeName, Properties parameters)Deprecated.Uses heuristics to deduce the properTypegiven a string naming the type or Java class.int[]AbstractStandardBasicType. sqlTypes(Mapping mapping)int[]AnyType. sqlTypes(Mapping mapping)int[]CollectionType. sqlTypes(Mapping session)int[]ComponentType. sqlTypes(Mapping mapping)int[]CompositeCustomType. sqlTypes(Mapping mapping)int[]ManyToOneType. sqlTypes(Mapping mapping)int[]MetaType. sqlTypes(Mapping mapping)int[]OneToOneType. sqlTypes(Mapping session)int[]SpecialOneToOneType. sqlTypes(Mapping mapping)int[]Type. sqlTypes(Mapping mapping)Return the JDBC types codes (perTypes) for the columns mapped by this type.Constructors in org.hibernate.type that throw MappingException Constructor Description CustomType(UserType userType)CustomType(UserType userType, String[] registrationKeys)
-