Uses of Class
org.hibernate.MappingException
-
Packages that use MappingException Package Description org.hibernate This package defines the central Hibernate APIs, beginning withSessionFactory, which represents an instance of Hibernate at runtime and is the source of new instances ofSessionandStatelessSession, the most important APIs exposing persistence-related operations for entities.org.hibernate.boot This package contains the interfaces that make up the bootstrap API for Hibernate.org.hibernate.boot.spi A range of SPIs allowing integration with—and customization of—the process of building metadata.org.hibernate.cfg This package defines APIs for configuring Hibernate.org.hibernate.dialect.identity Support forDialect-specific identity column handling.org.hibernate.dialect.sequence Support forDialect-specific sequence handling.org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.org.hibernate.id This package and its subpackages, especiallyorg.hibernate.id.enhanced, contain the built-in id generators, all of which implement eitherIdentifierGeneratororPostInsertIdentifierGenerator.org.hibernate.id.enhanced Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified configuration.org.hibernate.mapping This package defines the Hibernate configuration-time mapping model.org.hibernate.persister.collection This package abstracts persistence mechanisms for collections.org.hibernate.persister.entity This package abstracts persistence mechanisms for entities.org.hibernate.procedure Defines support for executing database stored procedures and functions and accessing their outputs.org.hibernate.query Everything related to HQL/JPQL, native SQL, and criteria queries.org.hibernate.query.sql.spi SPIs for native SQL query support.org.hibernate.type A HibernateTypeis a strategy for mapping a Java property type to a JDBC type or types. -
-
Uses of MappingException in org.hibernate
Subclasses of MappingException in org.hibernate Modifier and Type Class Description classAnnotationExceptionAn exception that occurs while reading mapping annotations.classDuplicateMappingExceptionRaised whenever a duplicate for a certain type occurs, such as a duplicate class, table, or property name.classInvalidMappingExceptionThrown when a mapping is found to be invalid.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 or class. -
Uses of MappingException in org.hibernate.boot
Subclasses of MappingException in org.hibernate.boot Modifier and Type Class Description classInvalidMappingExceptionIndicates a problem parsing the mapping document at a givenOrigin.classMappingExceptionIndicates a problem parsing a mapping document.classMappingNotFoundExceptionIndicates that a mapping document could not be found at a givenOrigin.classUnsupportedOrmXsdVersionExceptionSpecialized exception indicating that an unsupportedorm.xmlXSD version was specified -
Uses of MappingException in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi that throw MappingException Modifier and Type Method Description voidSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)Perform the operationorg.hibernate.annotations.common.reflection.XClassPropertyData. getClassOrElement()Returns the returned class itself or the element type if an arrayStringPropertyData. getClassOrElementName()Returns the returned class name itself or the element type if an arrayStringAbstractDelegatingMetadata. getIdentifierPropertyName(String className)TypeAbstractDelegatingMetadata. getIdentifierType(String className)StringInFlightMetadataCollector. getPhysicalColumnName(Table table, String logicalName)StringInFlightMetadataCollector. getPhysicalColumnName(Table table, Identifier logicalName)org.hibernate.annotations.common.reflection.XClassPropertyData. getPropertyClass()Return the class itselfStringPropertyData. getPropertyName()TypeAbstractDelegatingMetadata. getReferencedPropertyType(String className, String propertyName)StringPropertyData. getTypeName()Returns the returned class name itselfvoidAbstractDelegatingMetadata. validate()voidMetadataImplementor. validate() -
Uses of MappingException in org.hibernate.cfg
Subclasses of MappingException in org.hibernate.cfg Modifier and Type Class Description classRecoverableExceptionDeprecated.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 cacheable mapping file.ConfigurationConfiguration. addCacheableFile(String xmlFile)Add a cacheable mapping file.ConfigurationConfiguration. addClass(Class entityClass)Read a mapping as an application resource using the convention that a class namedfoo.bar.Foois mapped by a filefoo/bar/Foo.hbm.xmlwhich can be resolved as a classpath resource.ConfigurationConfiguration. addDirectory(File dir)Read all.hbm.xmlmapping documents from a directory tree.ConfigurationConfiguration. addFile(File xmlFile)Read mappings from a particular XML file.ConfigurationConfiguration. addFile(String xmlFile)Read mappings from a particular XML fileConfigurationConfiguration. addInputStream(InputStream xmlInputStream)Read mappings from anInputStream.ConfigurationConfiguration. addJar(File jar)Read all.hbm.xmlmappings from a.jarfile.ConfigurationConfiguration. addPackage(String packageName)Read package-level metadata.ConfigurationConfiguration. addResource(String resourceName)Read mappings as an application resource name, that is, using a classpath lookup, trying different class loaders in turn.ConfigurationConfiguration. addURL(URL url)Read mappings from aURL. -
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)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)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) -
Uses of MappingException in org.hibernate.dialect.sequence
Methods in org.hibernate.dialect.sequence that throw MappingException Modifier and Type Method Description StringMariaDBSequenceSupport. getCreateSequenceString(String sequenceName)StringMariaDBSequenceSupport. getCreateSequenceString(String sequenceName, int initialValue, int incrementSize)StringNoSequenceSupport. getCreateSequenceString(String sequenceName)StringNoSequenceSupport. getCreateSequenceString(String sequenceName, int initialValue, int incrementSize)default StringSequenceSupport. getCreateSequenceString(String sequenceName)Typically dialects which support sequences can create a sequence with a single command.default StringSequenceSupport. getCreateSequenceString(String sequenceName, int initialValue, int incrementSize)Typically dialects which support sequences can create a sequence with a single command.StringTiDBSequenceSupport. getCreateSequenceString(String sequenceName, int initialValue, int incrementSize)String[]NoSequenceSupport. getCreateSequenceStrings(String sequenceName, int initialValue, int incrementSize)default String[]SequenceSupport. getCreateSequenceStrings(String sequenceName, int initialValue, int incrementSize)An optional multi-line form for databases whichSequenceSupport.supportsPooledSequences().StringNoSequenceSupport. getDropSequenceString(String sequenceName)default StringSequenceSupport. getDropSequenceString(String sequenceName)Typically dialects which support sequences can drop a sequence with a single command.StringSQLServer16SequenceSupport. getDropSequenceString(String sequenceName)String[]NoSequenceSupport. getDropSequenceStrings(String sequenceName)default String[]SequenceSupport. getDropSequenceStrings(String sequenceName)The multiline script used to drop a sequence.StringNoSequenceSupport. getSelectSequenceNextValString(String sequenceName)StringSequenceSupport. getSelectSequenceNextValString(String sequenceName)Generate the select expression fragment that will retrieve the next value of a sequence as part of another (typically DML) statement.StringANSISequenceSupport. getSelectSequencePreviousValString(String sequenceName)StringDB2iSequenceSupport. getSelectSequencePreviousValString(String sequenceName)StringDB2SequenceSupport. getSelectSequencePreviousValString(String sequenceName)StringDerbySequenceSupport. getSelectSequencePreviousValString(String sequenceName)StringH2V1SequenceSupport. getSelectSequencePreviousValString(String sequenceName)StringLegacyDB2SequenceSupport. getSelectSequencePreviousValString(String sequenceName)Deprecated.StringMariaDBSequenceSupport. getSelectSequencePreviousValString(String sequenceName)StringPostgreSQLSequenceSupport. getSelectSequencePreviousValString(String sequenceName)default StringSequenceSupport. getSelectSequencePreviousValString(String sequenceName)Generate the select expression fragment that will retrieve the previous value of a sequence as part of another (typically DML) statement.StringTiDBSequenceSupport. getSelectSequencePreviousValString(String sequenceName)StringNoSequenceSupport. getSequenceNextValString(String sequenceName)StringNoSequenceSupport. getSequenceNextValString(String sequenceName, int increment)default StringSequenceSupport. getSequenceNextValString(String sequenceName)Generate the appropriate select statement to to retrieve the next value of a sequence.default StringSequenceSupport. getSequenceNextValString(String sequenceName, int increment)Generate the appropriate select statement to to retrieve the next value of a sequence.StringDB2iSequenceSupport. getSequencePreviousValString(String sequenceName)StringLegacyDB2SequenceSupport. getSequencePreviousValString(String sequenceName)Deprecated.default StringSequenceSupport. getSequencePreviousValString(String sequenceName)Generate the appropriate select statement to to retrieve the previous value of a sequence.StringSQLServerSequenceSupport. getSequencePreviousValString(String sequenceName) -
Uses of MappingException in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that throw MappingException Modifier and Type Method Description StringMapping. getIdentifierPropertyName(String className)Deprecated.StringSessionFactoryDelegatingImpl. getIdentifierPropertyName(String className)TypeMapping. getIdentifierType(String className)Deprecated.TypeSessionFactoryDelegatingImpl. getIdentifierType(String className)TypeMapping. getReferencedPropertyType(String className, String propertyName)Deprecated.TypeSessionFactoryDelegatingImpl. getReferencedPropertyType(String className, String propertyName)@Nullable BooleanVersionValue. isUnsaved(@Nullable Object version) -
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 parameters, ServiceRegistry serviceRegistry)voidConfigurable. configure(Type type, Properties params, ServiceRegistry serviceRegistry)Configure this instance, given the value of parameters specified by the user as<param>elements.voidForeignGenerator. configure(Type type, Properties parameters, ServiceRegistry serviceRegistry)Deprecated, for removal: This API element is subject to removal in a future version.voidIncrementGenerator. configure(Type type, Properties parameters, ServiceRegistry serviceRegistry)voidUUIDGenerator. configure(Type type, Properties parameters, ServiceRegistry serviceRegistry)Deprecated.voidUUIDHexGenerator. configure(Type type, Properties parameters, ServiceRegistry serviceRegistry)Deprecated.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 parameters, ServiceRegistry serviceRegistry)voidTableGenerator. configure(Type type, Properties parameters, ServiceRegistry serviceRegistry) -
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)static voidMappingHelper. checkPropertyColumnDuplication(Set<String> distinctColumns, List<Property> properties, String owner)voidCollection. createAllKeys()voidMap. createAllKeys()voidSimpleValue. createForeignKey()voidSimpleValue. createForeignKey(PersistentClass referencedEntity, org.hibernate.boot.model.internal.AnnotatedJoinColumns joinColumns)GeneratorComponent. createGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, RootClass rootClass)GeneratorSimpleValue. createGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, RootClass rootClass)CascadeStyleProperty. getCascadeStyle()Class<?>Component. getComponentClass()CollectionTypeArray. getDefaultCollectionType()abstract CollectionTypeCollection. getDefaultCollectionType()CollectionTypeList. getDefaultCollectionType()Class<?>Array. getElementClass()GetterProperty. getGetter(Class clazz)Class<?>PersistentClass. 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.default JdbcMappingValue. getSelectableType(Mapping factory, int index)SetterProperty. getSetter(Class clazz)intColumn. getSqlTypeCode(Mapping mapping)PropertyPersistentClass. getSubclassProperty(String propertyName)Deprecated, for removal: This API element is subject to removal in a future version.This will be removed with no replacement.AnyTypeAny. getType()TypeAny.KeyValue. getType()TypeAny.MetaValue. getType()TypeBasicValue. getType()TypeCollection. getType()CompositeTypeComponent. getType()TypeDependantValue. getType()TypeManyToOne. getType()TypeOneToOne. getType()TypeProperty. getType()TypeValue. getType()booleanAny. isValid(Mapping mapping)booleanAny.KeyValue. isValid(Mapping mapping)booleanComponent. 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)voidBasicValue. 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(Metadata mapping)voidPersistentClass. validate(Metadata mapping)voidRootClass. validate(Metadata mapping)voidSet. validate(Mapping mapping)voidSingleTableSubclass. validate(Metadata mapping)Constructors in org.hibernate.mapping that throw MappingException Constructor Description Component(MetadataBuildingContext metadata, Collection collection)Component(MetadataBuildingContext metadata, Component component)Component(MetadataBuildingContext metadata, Join join)Component(MetadataBuildingContext metadata, PersistentClass owner)Component(MetadataBuildingContext metadata, Table table, PersistentClass owner)OneToMany(MetadataBuildingContext buildingContext, PersistentClass owner)OneToOne(MetadataBuildingContext buildingContext, Table table, PersistentClass owner) -
Uses of MappingException in org.hibernate.persister.collection
Methods in org.hibernate.persister.collection that throw MappingException Modifier and Type Method Description voidAbstractCollectionPersister. postInstantiate()voidCollectionPersister. postInstantiate()Constructors in org.hibernate.persister.collection that throw MappingException Constructor Description AbstractCollectionPersister(Collection collectionBootDescriptor, CollectionDataAccess cacheAccessStrategy, RuntimeModelCreationContext creationContext)AbstractCollectionPersister(Collection collectionBootDescriptor, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext)Deprecated.BasicCollectionPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, RuntimeModelCreationContext creationContext)BasicCollectionPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext)Deprecated.CompositeElementPropertyMapping(String[] elementColumns, String[] elementColumnReaders, String[] elementColumnReaderTemplates, String[] elementFormulaTemplates, CompositeType compositeType, Metadata factory)Deprecated, for removal: This API element is subject to removal in a future version.OneToManyPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, RuntimeModelCreationContext creationContext)OneToManyPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext)Deprecated. -
Uses of MappingException in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity that throw MappingException Modifier and Type Method Description intDiscriminatorType. getColumnSpan(Mapping mapping)Deprecated, for removal: This API element is subject to removal in a future version.TypeAbstractEntityPersister. getPropertyType(String propertyName)Deprecated.by the supertypesTypeEntityPersister. getPropertyType(String propertyName)Deprecated, for removal: This API element is subject to removal in a future version.int[]DiscriminatorType. getSqlTypeCodes(Mapping mapping)Deprecated, for removal: This API element is subject to removal in a future version.protected voidAbstractPropertyMapping. initComponentPropertyPaths(String path, CompositeType type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Metadata factory)Deprecated, for removal: This API element is subject to removal in a future version.protected voidAbstractPropertyMapping. initIdentifierPropertyPaths(String path, EntityType etype, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Metadata factory)Deprecated, for removal: This API element is subject to removal in a future version.protected voidAbstractPropertyMapping. initIdentifierPropertyPaths(String path, EntityType etype, String[] columns, String[] columnReaders, String[] columnReaderTemplates, Metadata factory)Deprecated, for removal: This API element is subject to removal in a future version.protected voidAbstractEntityPersister. initPropertyPaths(Metadata mapping)protected voidAbstractPropertyMapping. initPropertyPaths(String path, Type type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Metadata factory)Deprecated, for removal: This API element is subject to removal in a future version.protected voidAbstractEntityPersister. initSubclassPropertyAliasesMap(PersistentClass model)Deprecated.Hibernate no longer uses aliases to read from result setsprotected voidAbstractEntityPersister. postConstruct(Metadata 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. -
Uses of MappingException in org.hibernate.procedure
Methods 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
Subclasses of MappingException in org.hibernate.query Modifier and Type Class Description classUnknownSqlResultSetMappingExceptionIndicates a request for named ResultSet mapping which could not be foundMethods in org.hibernate.query that throw MappingException Modifier and Type Method Description NativeQuery<T>NativeQuery. addSynchronizedEntityClass(Class entityClass)SynchronizeableQuerySynchronizeableQuery. addSynchronizedEntityClass(Class<?> entityClass)Add all query spaces associated with the entity with the given type.NativeQuery<T>NativeQuery. addSynchronizedEntityName(String entityName)SynchronizeableQuerySynchronizeableQuery. addSynchronizedEntityName(String entityName)Add all query spaces associated with the entity with the given names. -
Uses of MappingException in org.hibernate.query.sql.spi
Methods in org.hibernate.query.sql.spi that throw MappingException Modifier and Type Method Description NativeQueryImplementor<R>NativeQueryImplementor. addSynchronizedEntityClass(Class entityClass)NativeQueryImplementor<R>NativeQueryImplementor. addSynchronizedEntityName(String entityName) -
Uses of MappingException in org.hibernate.type
Methods in org.hibernate.type that throw MappingException Modifier and Type Method Description 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)intManyToOneType. getColumnSpan(Mapping mapping)intMetaType. getColumnSpan(Mapping mapping)Deprecated, for removal: This API element is subject to removal in a future version.intOneToOneType. getColumnSpan(Mapping session)intSerializableToBlobType. getColumnSpan(Mapping mapping)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.int[]AbstractStandardBasicType. getSqlTypeCodes(Mapping mapping)int[]AnyType. getSqlTypeCodes(Mapping mapping)int[]CollectionType. getSqlTypeCodes(Mapping session)int[]ComponentType. getSqlTypeCodes(Mapping mapping)int[]ManyToOneType. getSqlTypeCodes(Mapping mapping)int[]MetaType. getSqlTypeCodes(Mapping mapping)Deprecated, for removal: This API element is subject to removal in a future version.int[]OneToOneType. getSqlTypeCodes(Mapping session)int[]SerializableToBlobType. getSqlTypeCodes(Mapping mapping)int[]SpecialOneToOneType. getSqlTypeCodes(Mapping mapping)int[]Type. getSqlTypeCodes(Mapping mapping)Constructors in org.hibernate.type that throw MappingException Constructor Description CustomType(UserType<J> userType, String[] registrationKeys, TypeConfiguration typeConfiguration)CustomType(UserType<J> userType, TypeConfiguration typeConfiguration)
-