Uses of Class
org.hibernate.MappingException
Packages that use MappingException
Package
Description
This package defines the central Hibernate APIs, beginning with
SessionFactory
, which represents an instance of
Hibernate at runtime and is the source of new instances of
Session
and StatelessSession
,
the most important APIs exposing persistence-related operations for
entities.This package contains the interfaces that make up the bootstrap API
for Hibernate.
Overall, this module is responsible for taking
managed-resources and
building the
hibernate-models
model (ClassDetails, etc.)
to ultimately be bound into Hibernate's boot-time model.A range of SPIs allowing integration with—and customization of—the process of building metadata.
This package defines APIs for configuring Hibernate.
Support for
Dialect
-specific identity column handling.Support for
Dialect
-specific sequence handling.Support for many of the internal workings of Hibernate.
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
This package and its subpackages, especially
org.hibernate.id.enhanced
,
contain the built-in id generators, all of which implement either
IdentifierGenerator
or
PostInsertIdentifierGenerator
.Enhanced/improved versions of table and sequence based identifier generators
targeting portability and unified configuration.
An internal package containing implementations of central Hibernate APIs,
mostly defined in
org.hibernate
.Internal utility classes
A small API allowing the client of a Hibernate session to interact directly
with JDBC, using the same connection and transaction obtained by the session.
This package defines the Hibernate configuration-time mapping model.
This package abstracts persistence mechanisms for collections.
This package abstracts persistence mechanisms for entities.
Defines support for executing database stored procedures and functions and accessing their outputs.
Validation for HQL queries.
Everything related to HQL/JPQL, native SQL, and criteria queries.
SPIs for native SQL query support.
A Hibernate
Type
is 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.hibernateModifier and TypeClassDescriptionclass
An exception that occurs while reading mapping annotations.class
Raised whenever a duplicate for a certain type occurs, such as a duplicate class, table, or property name.class
Thrown when a mapping is found to be invalid.class
Indicates that an expected getter or setter method could not be found on a class.class
Indicates 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.bootModifier and TypeClassDescriptionclass
Indicates a problem parsing the mapping document at a givenOrigin
.class
Indicates a problem parsing a mapping document.class
Indicates that a mapping document could not be found at a givenOrigin
.class
Specialized exception indicating that an unsupportedorm.xml
XSD version was specified -
Uses of MappingException in org.hibernate.boot.internal
Subclasses of MappingException in org.hibernate.boot.internalModifier and TypeClassDescriptionclass
Deprecated.It would be nice to be able to eliminate this completelyMethods in org.hibernate.boot.internal that throw MappingExceptionModifier and TypeMethodDescriptionInFlightMetadataCollectorImpl.getIdentifierPropertyName
(String entityName) MetadataImpl.getIdentifierPropertyName
(String entityName) InFlightMetadataCollectorImpl.getIdentifierType
(String entityName) MetadataImpl.getIdentifierType
(String entityName) InFlightMetadataCollectorImpl.getLogicalColumnName
(Table table, String physicalName) InFlightMetadataCollectorImpl.getLogicalColumnName
(Table table, Identifier physicalName) InFlightMetadataCollectorImpl.getPhysicalColumnName
(Table table, String logicalName) InFlightMetadataCollectorImpl.getPhysicalColumnName
(Table table, Identifier logicalName) InFlightMetadataCollectorImpl.getReferencedPropertyType
(String entityName, String propertyName) MetadataImpl.getReferencedPropertyType
(String entityName, String propertyName) protected void
InFlightMetadataCollectorImpl.secondPassCompileForeignKeys
(Table table, Set<ForeignKey> done, MetadataBuildingContext buildingContext) void
InFlightMetadataCollectorImpl.validate()
void
MetadataImpl.validate()
-
Uses of MappingException in org.hibernate.boot.jaxb.hbm.transform
Subclasses of MappingException in org.hibernate.boot.jaxb.hbm.transformModifier and TypeClassDescriptionclass
Generalized error while performinghbm.xml
transformationclass
We encountered a reference to an entity by name which we cannot resolve -
Uses of MappingException in org.hibernate.boot.model.internal
Subclasses of MappingException in org.hibernate.boot.model.internalModifier and TypeClassDescriptionclass
Indicates an internal attempt to mark a column as non-nullable (because it's part of a primary key, for example) when we cannot force that column to be non-nullable.Methods in org.hibernate.boot.model.internal that throw MappingExceptionModifier and TypeMethodDescriptionstatic void
AnnotationBinder.bindClass
(org.hibernate.models.spi.ClassDetails classDetails, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStatePerClass, MetadataBuildingContext context) Bind an annotated class.final void
AbstractEntityIdGeneratorResolver.doSecondPass
(Map<String, PersistentClass> persistentClasses) void
AggregateComponentSecondPass.doSecondPass
(Map<String, PersistentClass> persistentClasses) void
CollectionSecondPass.doSecondPass
(Map<String, PersistentClass> persistentClasses) void
CopyIdentifierComponentSecondPass.doSecondPass
(Map<String, PersistentClass> persistentClasses) void
DiscriminatorColumnSecondPass.doSecondPass
(Map<String, PersistentClass> persistentClasses) void
FetchOverrideSecondPass.doSecondPass
(Map<String, PersistentClass> persistentClasses) void
FetchSecondPass.doSecondPass
(Map<String, PersistentClass> persistentClasses) void
IdBagIdGeneratorResolverSecondPass.doSecondPass
(Map<String, PersistentClass> idGeneratorDefinitionMap) void
JoinedSubclassFkSecondPass.doSecondPass
(Map<String, PersistentClass> persistentClasses) void
OneToOneSecondPass.doSecondPass
(Map<String, PersistentClass> persistentClasses) void
PkDrivenByDefaultMapsIdSecondPass.doSecondPass
(Map<String, PersistentClass> persistentClasses) void
ResultSetMappingSecondPass.doSecondPass
(Map<String, PersistentClass> persistentClasses) void
SecondaryTableFromAnnotationSecondPass.doSecondPass
(Map<String, PersistentClass> persistentClasses) void
SecondaryTableSecondPass.doSecondPass
(Map<String, PersistentClass> persistentClasses) void
SetBasicValueTypeSecondPass.doSecondPass
(Map<String, PersistentClass> persistentClasses) void
SimpleToOneFkSecondPass.doSecondPass
(Map<String, PersistentClass> persistentClasses) void
ToOneFkSecondPass.doSecondPass
(Map<String, PersistentClass> persistentClasses) PropertyInferredData.getClassOrElementName()
PropertyPreloadedData.getClassOrElementName()
WrappedInferredData.getClassOrElementName()
org.hibernate.models.spi.TypeDetails
PropertyInferredData.getClassOrElementType()
org.hibernate.models.spi.TypeDetails
PropertyPreloadedData.getClassOrElementType()
org.hibernate.models.spi.TypeDetails
WrappedInferredData.getClassOrElementType()
org.hibernate.models.spi.ClassDetails
PropertyInferredData.getClassOrPluralElement()
org.hibernate.models.spi.ClassDetails
PropertyPreloadedData.getClassOrPluralElement()
org.hibernate.models.spi.ClassDetails
WrappedInferredData.getClassOrPluralElement()
PropertyInferredData.getDefaultAccess()
PropertyPreloadedData.getDefaultAccess()
PropertyInferredData.getPropertyName()
PropertyPreloadedData.getPropertyName()
WrappedInferredData.getPropertyName()
org.hibernate.models.spi.TypeDetails
PropertyInferredData.getPropertyType()
org.hibernate.models.spi.TypeDetails
PropertyPreloadedData.getPropertyType()
org.hibernate.models.spi.TypeDetails
WrappedInferredData.getPropertyType()
PropertyInferredData.getTypeName()
PropertyPreloadedData.getTypeName()
WrappedInferredData.getTypeName()
static void
PropertyBinder.processElementAnnotations
(PropertyHolder propertyHolder, Nullability nullability, PropertyData inferredData, EntityBinder entityBinder, boolean isIdentifierMapper, boolean isComponentEmbedded, boolean inSecondPass, MetadataBuildingContext context, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStatePerClass) Process annotation of a particular property or field.abstract void
CollectionSecondPass.secondPass
(Map<String, PersistentClass> persistentClasses) -
Uses of MappingException in org.hibernate.boot.models
Subclasses of MappingException in org.hibernate.boot.modelsModifier and TypeClassDescriptionclass
Indicates thatAccessType
could not be determinedclass
class
class
Indicates a problem resolving a member from ClassDetailsclass
Condition where an attribute indicates multiple natures -
Uses of MappingException in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi that throw MappingExceptionModifier and TypeMethodDescriptionvoid
SecondPass.doSecondPass
(Map<String, PersistentClass> persistentClasses) Perform the operationPropertyData.getClassOrElementName()
Returns the returned class name itself or the element type if an arrayorg.hibernate.models.spi.TypeDetails
PropertyData.getClassOrElementType()
Returns the returned class itself or the element type if an arrayorg.hibernate.models.spi.ClassDetails
PropertyData.getClassOrPluralElement()
Returns the returned class itself or the element type if an array or collectionAbstractDelegatingMetadata.getIdentifierPropertyName
(String className) AbstractDelegatingMetadata.getIdentifierType
(String className) InFlightMetadataCollector.getPhysicalColumnName
(Table table, String logicalName) InFlightMetadataCollector.getPhysicalColumnName
(Table table, Identifier logicalName) PropertyData.getPropertyName()
org.hibernate.models.spi.TypeDetails
PropertyData.getPropertyType()
Return the class itselfAbstractDelegatingMetadata.getReferencedPropertyType
(String className, String propertyName) PropertyData.getTypeName()
Returns the returned class name itselfvoid
AbstractDelegatingMetadata.validate()
void
MetadataImplementor.validate()
-
Uses of MappingException in org.hibernate.cfg
Methods in org.hibernate.cfg that throw MappingExceptionModifier and TypeMethodDescriptionConfiguration.addCacheableFile
(File xmlFile) Add a cacheable mapping file.Configuration.addCacheableFile
(String xmlFile) Add a cacheable mapping file.Read a mapping as an application resource using the convention that a class namedfoo.bar.Foo
is mapped by a filefoo/bar/Foo.hbm.xml
which can be resolved as a classpath resource.Configuration.addDirectory
(File dir) Read all.hbm.xml
mapping documents from a directory tree.Read mappings from a particular XML file.Read mappings from a particular XML fileConfiguration.addInputStream
(InputStream xmlInputStream) Read mappings from anInputStream
.Read all.hbm.xml
mappings from a.jar
file.Configuration.addPackage
(String packageName) Read package-level metadata.Configuration.addPackages
(String... packageNames) Read package-level metadata.Configuration.addResource
(String resourceName) Read mappings as an application resource name, that is, using a classpath lookup, trying different class loaders in turn.Read mappings from aURL
. -
Uses of MappingException in org.hibernate.dialect.identity
Methods in org.hibernate.dialect.identity that throw MappingExceptionModifier and TypeMethodDescriptionAbstractTransactSQLIdentityColumnSupport.getIdentityColumnString
(int type) IdentityColumnSupport.getIdentityColumnString
(int type) The syntax used during DDL to define a column as being an IDENTITY of a particular type.IdentityColumnSupportImpl.getIdentityColumnString
(int type) AbstractTransactSQLIdentityColumnSupport.getIdentitySelectString
(String table, String column, int type) HANAIdentityColumnSupport.getIdentitySelectString
(String table, String column, int type) IdentityColumnSupport.getIdentitySelectString
(String table, String column, int type) Get the select command to use to retrieve the last generated IDENTITY value for a particular tableIdentityColumnSupportImpl.getIdentitySelectString
(String table, String column, int type) -
Uses of MappingException in org.hibernate.dialect.sequence
Methods in org.hibernate.dialect.sequence that throw MappingExceptionModifier and TypeMethodDescriptionMariaDBSequenceSupport.getCreateSequenceString
(String sequenceName) MariaDBSequenceSupport.getCreateSequenceString
(String sequenceName, int initialValue, int incrementSize) NoSequenceSupport.getCreateSequenceString
(String sequenceName) NoSequenceSupport.getCreateSequenceString
(String sequenceName, int initialValue, int incrementSize) default String
SequenceSupport.getCreateSequenceString
(String sequenceName) Typically dialects which support sequences can create a sequence with a single command.default String
SequenceSupport.getCreateSequenceString
(String sequenceName, int initialValue, int incrementSize) Typically dialects which support sequences can create a sequence with a single command.TiDBSequenceSupport.getCreateSequenceString
(String sequenceName, int initialValue, int incrementSize) String[]
NoSequenceSupport.getCreateSequenceStrings
(String sequenceName, int initialValue, int incrementSize) String[]
NoSequenceSupport.getCreateSequenceStrings
(String sequenceName, int initialValue, int incrementSize, String options) default String[]
SequenceSupport.getCreateSequenceStrings
(String sequenceName, int initialValue, int incrementSize) An optional multi-line form for databases whichSequenceSupport.supportsPooledSequences()
.default String[]
SequenceSupport.getCreateSequenceStrings
(String sequenceName, int initialValue, int incrementSize, String options) An optional multi-line form for databases whichSequenceSupport.supportsPooledSequences()
.NoSequenceSupport.getDropSequenceString
(String sequenceName) OracleSequenceSupport.getDropSequenceString
(String sequenceName) default String
SequenceSupport.getDropSequenceString
(String sequenceName) Typically dialects which support sequences can drop a sequence with a single command.SQLServer16SequenceSupport.getDropSequenceString
(String sequenceName) String[]
NoSequenceSupport.getDropSequenceStrings
(String sequenceName) default String[]
SequenceSupport.getDropSequenceStrings
(String sequenceName) The multiline script used to drop a sequence.NoSequenceSupport.getSelectSequenceNextValString
(String sequenceName) SequenceSupport.getSelectSequenceNextValString
(String sequenceName) Generate the select expression fragment that will retrieve the next value of a sequence as part of another (typically DML) statement.ANSISequenceSupport.getSelectSequencePreviousValString
(String sequenceName) DB2iSequenceSupport.getSelectSequencePreviousValString
(String sequenceName) DB2SequenceSupport.getSelectSequencePreviousValString
(String sequenceName) H2V1SequenceSupport.getSelectSequencePreviousValString
(String sequenceName) MariaDBSequenceSupport.getSelectSequencePreviousValString
(String sequenceName) PostgreSQLSequenceSupport.getSelectSequencePreviousValString
(String sequenceName) default String
SequenceSupport.getSelectSequencePreviousValString
(String sequenceName) Generate the select expression fragment that will retrieve the previous value of a sequence as part of another (typically DML) statement.TiDBSequenceSupport.getSelectSequencePreviousValString
(String sequenceName) NoSequenceSupport.getSequenceNextValString
(String sequenceName) NoSequenceSupport.getSequenceNextValString
(String sequenceName, int increment) default String
SequenceSupport.getSequenceNextValString
(String sequenceName) Generate the appropriate select statement to to retrieve the next value of a sequence.default String
SequenceSupport.getSequenceNextValString
(String sequenceName, int increment) Generate the appropriate select statement to to retrieve the next value of a sequence.DB2iSequenceSupport.getSequencePreviousValString
(String sequenceName) default String
SequenceSupport.getSequencePreviousValString
(String sequenceName) Generate the appropriate select statement to to retrieve the previous value of a sequence.SQLServerSequenceSupport.getSequencePreviousValString
(String sequenceName) -
Uses of MappingException in org.hibernate.engine.internal
Methods in org.hibernate.engine.internal that throw MappingExceptionModifier and TypeMethodDescriptionStatefulPersistenceContext.getCollectionOwner
(Object key, CollectionPersister collectionPersister) boolean
StatefulPersistenceContext.reassociateIfUninitializedProxy
(Object value) void
StatefulPersistenceContext.reassociateProxy
(Object value, Object id) -
Uses of MappingException in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that throw MappingExceptionModifier and TypeMethodDescriptionSessionFactoryDelegatingImpl.getIdentifierPropertyName
(String className) SessionFactoryDelegatingImpl.getIdentifierType
(String className) SessionFactoryDelegatingImpl.getReferencedPropertyType
(String className, String propertyName) @Nullable Boolean
-
Uses of MappingException in org.hibernate.envers.boot
Subclasses of MappingException in org.hibernate.envers.bootModifier and TypeClassDescriptionclass
Indicates an error happened during the Envers mapping boot process. -
Uses of MappingException in org.hibernate.id
Methods in org.hibernate.id that throw MappingExceptionModifier and TypeMethodDescriptiondefault void
Configurable.configure
(GeneratorCreationContext creationContext, Properties parameters) Configure this instance, given the value of parameters specified by the user as XML<param>
elements and@Parameter
annotations.default void
Configurable.configure
(Type type, Properties parameters, ServiceRegistry serviceRegistry) Deprecated, for removal: This API element is subject to removal in a future version.void
ForeignGenerator.configure
(GeneratorCreationContext creationContext, Properties parameters) Deprecated, for removal: This API element is subject to removal in a future version.void
IncrementGenerator.configure
(GeneratorCreationContext creationContext, Properties parameters) void
UUIDGenerator.configure
(GeneratorCreationContext creationContext, Properties parameters) Deprecated.void
UUIDHexGenerator.configure
(GeneratorCreationContext creationContext, Properties parameters) Deprecated.ExportableColumn.ValueImpl.getType()
boolean
ExportableColumn.ValueImpl.isValid
(MappingContext mappingContext) void
ExportableColumn.ValueImpl.setTypeUsingReflection
(String className, String propertyName) -
Uses of MappingException in org.hibernate.id.enhanced
Methods in org.hibernate.id.enhanced that throw MappingExceptionModifier and TypeMethodDescriptionvoid
SequenceStyleGenerator.configure
(GeneratorCreationContext creationContext, Properties parameters) void
TableGenerator.configure
(GeneratorCreationContext creationContext, Properties parameters) -
Uses of MappingException in org.hibernate.internal
Methods in org.hibernate.internal that throw MappingExceptionModifier and TypeMethodDescriptionSessionFactoryImpl.getIdentifierPropertyName
(String className) SessionFactoryImpl.getIdentifierType
(String className) SessionFactoryImpl.getReferencedPropertyType
(String className, String propertyName) -
Uses of MappingException in org.hibernate.internal.util
Methods in org.hibernate.internal.util that throw MappingExceptionModifier and TypeMethodDescriptionstatic Class<?>
ReflectHelper.reflectedPropertyClass
(Class<?> clazz, String name) Attempt to resolve the specified property type through reflection.static Class<?>
ReflectHelper.reflectedPropertyClass
(String className, String name, ClassLoaderService classLoaderService) Attempt to resolve the specified property type through reflection.static Type
ReflectHelper.reflectedPropertyType
(String className, String name, ClassLoaderService classLoaderService) -
Uses of MappingException in org.hibernate.jdbc
Methods in org.hibernate.jdbc that throw MappingExceptionModifier and TypeMethodDescriptionvoid
Expectation.OutParameter.validate
(boolean callable) default void
Expectation.validate
(boolean callable) Check that this implementation is compatible with the kind ofPreparedStatement
it will be called with. -
Uses of MappingException in org.hibernate.mapping
Methods in org.hibernate.mapping that throw MappingExceptionModifier and TypeMethodDescriptionvoid
PersistentClass.addSubclass
(Subclass subclass) void
RootClass.addSubclass
(Subclass subclass) static void
MappingHelper.checkPropertyColumnDuplication
(Set<String> distinctColumns, List<Property> properties, String owner) void
Collection.createAllKeys()
void
Map.createAllKeys()
void
SimpleValue.createForeignKey()
void
SimpleValue.createForeignKey
(PersistentClass referencedEntity, AnnotatedJoinColumns joinColumns) Property.getCascadeStyle()
Class<?>
Component.getComponentClass()
Array.getDefaultCollectionType()
abstract CollectionType
Collection.getDefaultCollectionType()
List.getDefaultCollectionType()
Class<?>
Array.getElementClass()
Class<?>
PersistentClass.getMappedClass()
Component.getProperty
(String propertyName) PersistentClass.getProperty
(String propertyName) Backref.getPropertyAccessStrategy
(Class clazz) IndexBackref.getPropertyAccessStrategy
(Class clazz) Property.getPropertyAccessStrategy
(Class clazz) PersistentClass.getRecursiveProperty
(String propertyPath) PersistentClass.getReferencedProperty
(String propertyPath) Given a property path, locate the appropriate referenceable property reference.default JdbcMapping
Value.getSelectableType
(Mapping factory, int index) Deprecated.default JdbcMapping
Value.getSelectableType
(MappingContext mappingContext, int index) int
Column.getSqlTypeCode
(Mapping mapping) Deprecated.int
Column.getSqlTypeCode
(MappingContext mapping) Any.getType()
Any.KeyValue.getType()
Any.MetaValue.getType()
BasicValue.getType()
Collection.getType()
Component.getType()
DependantValue.getType()
ManyToOne.getType()
OneToOne.getType()
Property.getType()
Value.getType()
boolean
Any.isValid
(MappingContext mappingContext) boolean
Component.isValid
(MappingContext mappingContext) boolean
OneToMany.isValid
(MappingContext mappingContext) boolean
Deprecated.boolean
Property.isValid
(MappingContext mappingContext) boolean
SimpleValue.isValid
(MappingContext mappingContext) boolean
ToOne.isValid
(MappingContext mappingContext) default boolean
Deprecated.boolean
Value.isValid
(MappingContext mappingContext) void
ForeignKey.setReferencedTable
(Table referencedTable) void
Any.setTypeUsingReflection
(String className, String propertyName) void
BasicValue.setTypeUsingReflection
(String className, String propertyName) void
Component.setTypeUsingReflection
(String className, String propertyName) void
SimpleValue.setTypeUsingReflection
(String className, String propertyName) void
ToOne.setTypeUsingReflection
(String className, String propertyName) void
Value.setTypeUsingReflection
(String className, String propertyName) void
Deprecated.void
Collection.validate
(MappingContext mappingContext) void
void
IdentifierCollection.validate
(MappingContext mappingContext) void
Deprecated.void
IndexedCollection.validate
(MappingContext mappingContext) void
void
void
void
void
Set.validate
(MappingContext mappingContext) void
Constructors in org.hibernate.mapping that throw MappingExceptionModifierConstructorDescriptionComponent
(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 MappingExceptionModifier and TypeMethodDescriptionvoid
AbstractCollectionPersister.postInstantiate()
void
CollectionPersister.postInstantiate()
Constructors in org.hibernate.persister.collection that throw MappingExceptionModifierConstructorDescriptionAbstractCollectionPersister
(Collection collectionBootDescriptor, @Nullable CollectionDataAccess cacheAccessStrategy, RuntimeModelCreationContext creationContext) BasicCollectionPersister
(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, RuntimeModelCreationContext creationContext) OneToManyPersister
(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, RuntimeModelCreationContext creationContext) -
Uses of MappingException in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity that throw MappingExceptionModifier and TypeMethodDescriptionint
DiscriminatorType.getColumnSpan
(MappingContext mapping) Deprecated, for removal: This API element is subject to removal in a future version.AbstractEntityPersister.getPropertyType
(String propertyName) Deprecated.by the supertypesEntityPersister.getPropertyType
(String propertyName) Deprecated, for removal: This API element is subject to removal in a future version.int[]
DiscriminatorType.getSqlTypeCodes
(MappingContext mappingContext) Deprecated, for removal: This API element is subject to removal in a future version.protected void
AbstractEntityPersister.initPropertyPaths
(Metadata mapping) protected void
AbstractEntityPersister.initSubclassPropertyAliasesMap
(PersistentClass model) Deprecated.Hibernate no longer uses aliases to read from result setsprotected void
AbstractEntityPersister.postConstruct
(Metadata mapping) Post-construct is a callback for AbstractEntityPersister subclasses to call after they are all done with their constructor processing.final void
AbstractEntityPersister.postInstantiate()
void
EntityPersister.postInstantiate()
Finish the initialization of this object. -
Uses of MappingException in org.hibernate.procedure
Methods in org.hibernate.procedure that throw MappingExceptionModifier and TypeMethodDescriptionProcedureCall.addSynchronizedEntityClass
(Class entityClass) ProcedureCall.addSynchronizedEntityName
(String entityName) -
Uses of MappingException in org.hibernate.processor.validation
Methods in org.hibernate.processor.validation that throw MappingExceptionModifier and TypeMethodDescriptionMockSessionFactory.getIdentifierPropertyName
(String className) MockSessionFactory.getIdentifierType
(String className) MockSessionFactory.getReferencedPropertyType
(String className, String propertyName) BasicType<?>
MockSessionFactory.getVersionType
(String className) -
Uses of MappingException in org.hibernate.query
Subclasses of MappingException in org.hibernate.queryModifier and TypeClassDescriptionclass
Indicates a request for named ResultSet mapping which could not be foundMethods in org.hibernate.query that throw MappingExceptionModifier and TypeMethodDescriptionNativeQuery.addSynchronizedEntityClass
(Class entityClass) SynchronizeableQuery.addSynchronizedEntityClass
(Class<?> entityClass) Add all query spaces associated with the entity with the given type.NativeQuery.addSynchronizedEntityName
(String entityName) SynchronizeableQuery.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 MappingExceptionModifier and TypeMethodDescriptionNativeQueryImplementor.addSynchronizedEntityClass
(Class entityClass) NativeQueryImplementor.addSynchronizedEntityName
(String entityName) -
Uses of MappingException in org.hibernate.testing.orm.junit
Methods in org.hibernate.testing.orm.junit that throw MappingExceptionModifier and TypeMethodDescriptionDialectFeatureChecks.FakeMetadataBuildingContext.getIdentifierPropertyName
(String className) DialectFeatureChecks.FakeMetadataBuildingContext.getIdentifierType
(String className) DialectFeatureChecks.FakeMetadataBuildingContext.getPhysicalColumnName
(Table table, String logicalName) DialectFeatureChecks.FakeMetadataBuildingContext.getPhysicalColumnName
(Table table, Identifier logicalName) DialectFeatureChecks.FakeMetadataBuildingContext.getReferencedPropertyType
(String className, String propertyName) void
DialectFeatureChecks.FakeMetadataBuildingContext.validate()
-
Uses of MappingException in org.hibernate.type
Methods in org.hibernate.type that throw MappingExceptionModifier and TypeMethodDescriptionAssociationType.getAssociatedEntityName
(SessionFactoryImplementor factory) Get the entity name of the associated entityCollectionType.getAssociatedEntityName
(SessionFactoryImplementor factory) AssociationType.getAssociatedJoinable
(SessionFactoryImplementor factory) Get the "persister" for this association - a class or collection persisterCollectionType.getAssociatedJoinable
(SessionFactoryImplementor factory) EntityType.getAssociatedJoinable
(SessionFactoryImplementor factory) Retrieves theJoinable
defining the associated entity.final int
AbstractStandardBasicType.getColumnSpan
(MappingContext mapping) int
CollectionType.getColumnSpan
(MappingContext session) int
ComponentType.getColumnSpan
(MappingContext mapping) int
ManyToOneType.getColumnSpan
(MappingContext mapping) int
MetaType.getColumnSpan
(MappingContext mapping) int
OneToOneType.getColumnSpan
(MappingContext session) final int
SerializableToBlobType.getColumnSpan
(MappingContext mapping) int
SpecialOneToOneType.getColumnSpan
(MappingContext mapping) default int
Type.getColumnSpan
(Mapping mapping) Deprecated.int
Type.getColumnSpan
(MappingContext mappingContext) How many columns are used to persist this type?final Type
CollectionType.getElementType
(SessionFactoryImplementor factory) Get the Hibernate type of the collection elementsfinal String
EntityType.getIdentifierOrUniqueKeyPropertyName
(Mapping factory) Deprecated, for removal: This API element is subject to removal in a future version.No longer usedfinal String
EntityType.getIdentifierOrUniqueKeyPropertyName
(MappingContext mappingContext) The name of the property on the associated entity to which our FK refersfinal Type
EntityType.getIdentifierOrUniqueKeyType
(Mapping factory) Deprecated.final Type
EntityType.getIdentifierOrUniqueKeyType
(MappingContext mappingContext) Determine the type of either: the identifier if we reference the primary key of the associated entity, or the unique key to which we refer, that is, the property-ref.MappingContext.getIdentifierPropertyName
(String className) MappingContext.getIdentifierType
(String className) MappingContext.getReferencedPropertyType
(String className, String propertyName) final int[]
AbstractStandardBasicType.getSqlTypeCodes
(MappingContext mappingContext) int[]
AnyType.getSqlTypeCodes
(MappingContext mappingContext) int[]
CollectionType.getSqlTypeCodes
(MappingContext mappingContext) int[]
ComponentType.getSqlTypeCodes
(MappingContext mappingContext) int[]
ManyToOneType.getSqlTypeCodes
(MappingContext mappingContext) int[]
MetaType.getSqlTypeCodes
(MappingContext mappingContext) final int[]
SerializableToBlobType.getSqlTypeCodes
(MappingContext mappingContext) int[]
SpecialOneToOneType.getSqlTypeCodes
(MappingContext mappingContext) default int[]
Type.getSqlTypeCodes
(Mapping mapping) Deprecated.int[]
Type.getSqlTypeCodes
(MappingContext mappingContext) Constructors in org.hibernate.type that throw MappingExceptionModifierConstructorDescriptionCustomType
(UserType<J> userType, String[] registrationKeys, TypeConfiguration typeConfiguration) CustomType
(UserType<J> userType, TypeConfiguration typeConfiguration) -
Uses of MappingException in org.hibernate.type.internal
Methods in org.hibernate.type.internal that throw MappingExceptionModifier and TypeMethodDescriptionfinal int
ConvertedBasicTypeImpl.getColumnSpan
(MappingContext mapping) final int[]
ConvertedBasicTypeImpl.getSqlTypeCodes
(MappingContext mappingContext)