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 ofSession
andStatelessSession
, 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.internal org.hibernate.boot.model.internal 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.internal Support for many of the internal workings of Hibernate.org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.org.hibernate.envers.boot org.hibernate.id This package and its subpackages, especiallyorg.hibernate.id.enhanced
, contain the built-in id generators, all of which implement eitherIdentifierGenerator
orPostInsertIdentifierGenerator
.org.hibernate.id.enhanced Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified configuration.org.hibernate.internal An internal package containing implementations of central Hibernate APIs, mostly defined inorg.hibernate
.org.hibernate.internal.util Internal utility classesorg.hibernate.jdbc 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.org.hibernate.mapping This package defines the Hibernate configuration-time mapping model.org.hibernate.metamodel.model.domain.internal Implementation of the SPI for the runtime domain metamodel.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.processor.validation Validation for HQL queries.org.hibernate.query Everything related to HQL/JPQL, native SQL, and criteria queries.org.hibernate.query.sql.internal Implementation of the SPIs for native SQL query support.org.hibernate.query.sql.spi SPIs for native SQL query support.org.hibernate.type A HibernateType
is a strategy for mapping a Java property type to a JDBC type or types.org.hibernate.type.internal -
-
Uses of MappingException in org.hibernate
Subclasses of MappingException in org.hibernate Modifier and Type Class Description class
AnnotationException
An exception that occurs while reading mapping annotations.class
DuplicateMappingException
Raised whenever a duplicate for a certain type occurs, such as a duplicate class, table, or property name.class
InvalidMappingException
Thrown when a mapping is found to be invalid.class
PropertyNotFoundException
Indicates that an expected getter or setter method could not be found on a class.class
UnknownEntityTypeException
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.boot Modifier and Type Class Description class
InvalidMappingException
Indicates a problem parsing the mapping document at a givenOrigin
.class
MappingException
Indicates a problem parsing a mapping document.class
MappingNotFoundException
Indicates that a mapping document could not be found at a givenOrigin
.class
UnsupportedOrmXsdVersionException
Specialized exception indicating that an unsupportedorm.xml
XSD version was specified -
Uses of MappingException in org.hibernate.boot.internal
Methods in org.hibernate.boot.internal that throw MappingException Modifier and Type Method Description String
InFlightMetadataCollectorImpl. getIdentifierPropertyName(String entityName)
String
MetadataImpl. getIdentifierPropertyName(String entityName)
Type
InFlightMetadataCollectorImpl. getIdentifierType(String entityName)
Type
MetadataImpl. getIdentifierType(String entityName)
String
InFlightMetadataCollectorImpl. getLogicalColumnName(Table table, String physicalName)
String
InFlightMetadataCollectorImpl. getLogicalColumnName(Table table, Identifier physicalName)
String
InFlightMetadataCollectorImpl. getPhysicalColumnName(Table table, String logicalName)
String
InFlightMetadataCollectorImpl. getPhysicalColumnName(Table table, Identifier logicalName)
Type
InFlightMetadataCollectorImpl. getReferencedPropertyType(String entityName, String propertyName)
Type
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.model.internal
Subclasses of MappingException in org.hibernate.boot.model.internal Modifier and Type Class Description class
CannotForceNonNullableException
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 MappingException Modifier and Type Method Description static void
AnnotationBinder. bindClass(org.hibernate.annotations.common.reflection.XClass annotatedClass, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass, MetadataBuildingContext context)
Bind an annotated class.void
AggregateComponentSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
CollectionSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
CopyIdentifierComponentSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
FetchOverrideSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
FetchSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
IdGeneratorResolverSecondPass. doSecondPass(Map<String,PersistentClass> idGeneratorDefinitionMap)
void
IndexOrUniqueKeySecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
JoinedSubclassFkSecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
void
NullableDiscriminatorColumnSecondPass. 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)
org.hibernate.annotations.common.reflection.XClass
PropertyInferredData. getClassOrElement()
org.hibernate.annotations.common.reflection.XClass
PropertyPreloadedData. getClassOrElement()
org.hibernate.annotations.common.reflection.XClass
WrappedInferredData. getClassOrElement()
String
PropertyInferredData. getClassOrElementName()
String
PropertyPreloadedData. getClassOrElementName()
String
WrappedInferredData. getClassOrElementName()
org.hibernate.annotations.common.reflection.XClass
PropertyInferredData. getClassOrPluralElement()
org.hibernate.annotations.common.reflection.XClass
PropertyPreloadedData. getClassOrPluralElement()
org.hibernate.annotations.common.reflection.XClass
WrappedInferredData. getClassOrPluralElement()
AccessType
PropertyInferredData. getDefaultAccess()
AccessType
PropertyPreloadedData. getDefaultAccess()
org.hibernate.annotations.common.reflection.XClass
PropertyInferredData. getPropertyClass()
org.hibernate.annotations.common.reflection.XClass
PropertyPreloadedData. getPropertyClass()
org.hibernate.annotations.common.reflection.XClass
WrappedInferredData. getPropertyClass()
String
PropertyInferredData. getPropertyName()
String
PropertyPreloadedData. getPropertyName()
String
WrappedInferredData. getPropertyName()
String
PropertyInferredData. getTypeName()
String
PropertyPreloadedData. getTypeName()
String
WrappedInferredData. getTypeName()
static void
PropertyBinder. processElementAnnotations(PropertyHolder propertyHolder, Nullability nullability, PropertyData inferredData, Map<String,IdentifierGeneratorDefinition> classGenerators, EntityBinder entityBinder, boolean isIdentifierMapper, boolean isComponentEmbedded, boolean inSecondPass, MetadataBuildingContext context, Map<org.hibernate.annotations.common.reflection.XClass,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.spi
Methods in org.hibernate.boot.spi that throw MappingException Modifier and Type Method Description void
SecondPass. doSecondPass(Map<String,PersistentClass> persistentClasses)
Perform the operationorg.hibernate.annotations.common.reflection.XClass
PropertyData. getClassOrElement()
Returns the returned class itself or the element type if an arrayString
PropertyData. getClassOrElementName()
Returns the returned class name itself or the element type if an arrayorg.hibernate.annotations.common.reflection.XClass
PropertyData. getClassOrPluralElement()
Returns the returned class itself or the element type if an array or collectionString
AbstractDelegatingMetadata. getIdentifierPropertyName(String className)
Type
AbstractDelegatingMetadata. getIdentifierType(String className)
String
InFlightMetadataCollector. getPhysicalColumnName(Table table, String logicalName)
String
InFlightMetadataCollector. getPhysicalColumnName(Table table, Identifier logicalName)
org.hibernate.annotations.common.reflection.XClass
PropertyData. getPropertyClass()
Return the class itselfString
PropertyData. getPropertyName()
Type
AbstractDelegatingMetadata. getReferencedPropertyType(String className, String propertyName)
String
PropertyData. getTypeName()
Returns the returned class name itselfvoid
AbstractDelegatingMetadata. validate()
void
MetadataImplementor. validate()
-
Uses of MappingException in org.hibernate.cfg
Subclasses of MappingException in org.hibernate.cfg Modifier and Type Class Description class
RecoverableException
Deprecated.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 Configuration
Configuration. addCacheableFile(File xmlFile)
Add a cacheable mapping file.Configuration
Configuration. addCacheableFile(String xmlFile)
Add a cacheable mapping file.Configuration
Configuration. addClass(Class entityClass)
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
Configuration. addDirectory(File dir)
Read all.hbm.xml
mapping documents from a directory tree.Configuration
Configuration. addFile(File xmlFile)
Read mappings from a particular XML file.Configuration
Configuration. addFile(String xmlFile)
Read mappings from a particular XML fileConfiguration
Configuration. addInputStream(InputStream xmlInputStream)
Read mappings from anInputStream
.Configuration
Configuration. addJar(File jar)
Read all.hbm.xml
mappings from a.jar
file.Configuration
Configuration. addPackage(String packageName)
Read package-level metadata.Configuration
Configuration. addResource(String resourceName)
Read mappings as an application resource name, that is, using a classpath lookup, trying different class loaders in turn.Configuration
Configuration. 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 String
AbstractTransactSQLIdentityColumnSupport. getIdentityColumnString(int type)
String
IdentityColumnSupport. getIdentityColumnString(int type)
The syntax used during DDL to define a column as being an IDENTITY of a particular type.String
IdentityColumnSupportImpl. getIdentityColumnString(int type)
String
AbstractTransactSQLIdentityColumnSupport. getIdentitySelectString(String table, String column, int type)
String
HANAIdentityColumnSupport. getIdentitySelectString(String table, String column, int type)
String
IdentityColumnSupport. getIdentitySelectString(String table, String column, int type)
Get the select command to use to retrieve the last generated IDENTITY value for a particular tableString
IdentityColumnSupportImpl. 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 String
MariaDBSequenceSupport. getCreateSequenceString(String sequenceName)
String
MariaDBSequenceSupport. getCreateSequenceString(String sequenceName, int initialValue, int incrementSize)
String
NoSequenceSupport. getCreateSequenceString(String sequenceName)
String
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.String
TiDBSequenceSupport. 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()
.String
NoSequenceSupport. getDropSequenceString(String sequenceName)
String
OracleSequenceSupport. getDropSequenceString(String sequenceName)
default String
SequenceSupport. getDropSequenceString(String sequenceName)
Typically dialects which support sequences can drop a sequence with a single command.String
SQLServer16SequenceSupport. getDropSequenceString(String sequenceName)
String[]
NoSequenceSupport. getDropSequenceStrings(String sequenceName)
default String[]
SequenceSupport. getDropSequenceStrings(String sequenceName)
The multiline script used to drop a sequence.String
NoSequenceSupport. getSelectSequenceNextValString(String sequenceName)
String
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.String
ANSISequenceSupport. getSelectSequencePreviousValString(String sequenceName)
String
DB2iSequenceSupport. getSelectSequencePreviousValString(String sequenceName)
String
DB2SequenceSupport. getSelectSequencePreviousValString(String sequenceName)
String
DerbySequenceSupport. getSelectSequencePreviousValString(String sequenceName)
String
H2V1SequenceSupport. getSelectSequencePreviousValString(String sequenceName)
String
LegacyDB2SequenceSupport. getSelectSequencePreviousValString(String sequenceName)
Deprecated.String
MariaDBSequenceSupport. getSelectSequencePreviousValString(String sequenceName)
String
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.String
TiDBSequenceSupport. getSelectSequencePreviousValString(String sequenceName)
String
NoSequenceSupport. getSequenceNextValString(String sequenceName)
String
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.String
DB2iSequenceSupport. getSequencePreviousValString(String sequenceName)
String
LegacyDB2SequenceSupport. getSequencePreviousValString(String sequenceName)
Deprecated.default String
SequenceSupport. getSequencePreviousValString(String sequenceName)
Generate the appropriate select statement to to retrieve the previous value of a sequence.String
SQLServerSequenceSupport. getSequencePreviousValString(String sequenceName)
-
Uses of MappingException in org.hibernate.engine.internal
Methods in org.hibernate.engine.internal that throw MappingException Modifier and Type Method Description Object
StatefulPersistenceContext. 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 MappingException Modifier and Type Method Description String
Mapping. getIdentifierPropertyName(String className)
Deprecated.String
SessionFactoryDelegatingImpl. getIdentifierPropertyName(String className)
Type
Mapping. getIdentifierType(String className)
Deprecated.Type
SessionFactoryDelegatingImpl. getIdentifierType(String className)
Type
Mapping. getReferencedPropertyType(String className, String propertyName)
Deprecated.Type
SessionFactoryDelegatingImpl. getReferencedPropertyType(String className, String propertyName)
@Nullable Boolean
VersionValue. isUnsaved(@Nullable Object version)
-
Uses of MappingException in org.hibernate.envers.boot
Subclasses of MappingException in org.hibernate.envers.boot Modifier and Type Class Description class
EnversMappingException
Indicates an error happened during the Envers mapping boot process. -
Uses of MappingException in org.hibernate.id
Methods in org.hibernate.id that throw MappingException Modifier and Type Method Description void
Assigned. configure(Type type, Properties parameters, ServiceRegistry serviceRegistry)
void
Configurable. configure(Type type, Properties parameters, ServiceRegistry serviceRegistry)
Configure this instance, given the value of parameters specified by the user as XML<param>
elements and@Parameter
annotations.void
ForeignGenerator. configure(Type type, Properties parameters, ServiceRegistry serviceRegistry)
Deprecated, for removal: This API element is subject to removal in a future version.void
IncrementGenerator. configure(Type type, Properties parameters, ServiceRegistry serviceRegistry)
void
UUIDGenerator. configure(Type type, Properties parameters, ServiceRegistry serviceRegistry)
Deprecated.void
UUIDHexGenerator. configure(Type type, Properties parameters, ServiceRegistry serviceRegistry)
Deprecated.default void
Configurable. create(GeneratorCreationContext creationContext)
Deprecated, for removal: This API element is subject to removal in a future version.Added in 6.6 as a short-term work-around, but should really use on of the alternatives discussed at Configurable.Type
ExportableColumn.ValueImpl. getType()
boolean
ExportableColumn.ValueImpl. isValid(Mapping mapping)
void
ExportableColumn.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 void
SequenceStyleGenerator. configure(Type type, Properties parameters, ServiceRegistry serviceRegistry)
void
TableGenerator. configure(Type type, Properties parameters, ServiceRegistry serviceRegistry)
void
SequenceStyleGenerator. create(GeneratorCreationContext creationContext)
-
Uses of MappingException in org.hibernate.internal
Methods in org.hibernate.internal that throw MappingException Modifier and Type Method Description String
SessionFactoryImpl. getIdentifierPropertyName(String className)
Type
SessionFactoryImpl. getIdentifierType(String className)
Type
SessionFactoryImpl. getReferencedPropertyType(String className, String propertyName)
-
Uses of MappingException in org.hibernate.internal.util
Methods in org.hibernate.internal.util that throw MappingException Modifier and Type Method Description static 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 MappingException Modifier and Type Method Description void
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 MappingException Modifier and Type Method Description void
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)
Generator
Component. createGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, RootClass rootClass)
Generator
SimpleValue. createGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, RootClass rootClass)
CascadeStyle
Property. getCascadeStyle()
Class<?>
Component. getComponentClass()
CollectionType
Array. getDefaultCollectionType()
abstract CollectionType
Collection. getDefaultCollectionType()
CollectionType
List. getDefaultCollectionType()
Class<?>
Array. getElementClass()
Getter
Property. getGetter(Class clazz)
Class<?>
PersistentClass. getMappedClass()
Property
Component. getProperty(String propertyName)
Property
PersistentClass. getProperty(String propertyName)
PropertyAccessStrategy
Backref. getPropertyAccessStrategy(Class clazz)
PropertyAccessStrategy
IndexBackref. getPropertyAccessStrategy(Class clazz)
PropertyAccessStrategy
Property. getPropertyAccessStrategy(Class clazz)
Property
PersistentClass. getRecursiveProperty(String propertyPath)
Property
PersistentClass. getReferencedProperty(String propertyPath)
Given a property path, locate the appropriate referenceable property reference.default JdbcMapping
Value. getSelectableType(Mapping factory, int index)
Setter
Property. getSetter(Class clazz)
int
Column. getSqlTypeCode(Mapping mapping)
Property
PersistentClass. getSubclassProperty(String propertyName)
Deprecated, for removal: This API element is subject to removal in a future version.This will be removed with no replacement.AnyType
Any. getType()
Type
Any.KeyValue. getType()
Type
Any.MetaValue. getType()
Type
BasicValue. getType()
Type
Collection. getType()
CompositeType
Component. getType()
Type
DependantValue. getType()
Type
ManyToOne. getType()
Type
OneToOne. getType()
Type
Property. getType()
Type
Value. getType()
boolean
Any. isValid(Mapping mapping)
boolean
Any.KeyValue. isValid(Mapping mapping)
boolean
Component. isValid(Mapping mapping)
boolean
OneToMany. isValid(Mapping mapping)
boolean
Property. isValid(Mapping mapping)
boolean
SimpleValue. isValid(Mapping mapping)
boolean
ToOne. isValid(Mapping mapping)
boolean
Value. isValid(Mapping mapping)
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
Collection. validate(Mapping mapping)
void
IdentifierCollection. validate(Mapping mapping)
void
IndexedCollection. validate(Mapping mapping)
void
JoinedSubclass. validate(Metadata mapping)
void
PersistentClass. validate(Metadata mapping)
void
RootClass. validate(Metadata mapping)
void
Set. validate(Mapping mapping)
void
SingleTableSubclass. 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.metamodel.model.domain.internal
Methods in org.hibernate.metamodel.model.domain.internal that throw MappingException Modifier and Type Method Description EntityPersister
MappingMetamodelImpl. entityPersister(String entityName)
String[]
MappingMetamodelImpl. getImplementors(String className)
-
Uses of MappingException in org.hibernate.persister.collection
Methods in org.hibernate.persister.collection that throw MappingException Modifier and Type Method Description void
AbstractCollectionPersister. postInstantiate()
void
CollectionPersister. postInstantiate()
Constructors in org.hibernate.persister.collection that throw MappingException Constructor Description AbstractCollectionPersister(Collection collectionBootDescriptor, @Nullable CollectionDataAccess cacheAccessStrategy, RuntimeModelCreationContext creationContext)
AbstractCollectionPersister(Collection collectionBootDescriptor, @Nullable 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 int
DiscriminatorType. getColumnSpan(Mapping mapping)
Deprecated, for removal: This API element is subject to removal in a future version.Type
AbstractEntityPersister. getPropertyType(String propertyName)
Deprecated.by the supertypesType
EntityPersister. 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 void
AbstractPropertyMapping. 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 void
AbstractPropertyMapping. 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 void
AbstractPropertyMapping. 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 void
AbstractEntityPersister. initPropertyPaths(Metadata mapping)
protected void
AbstractPropertyMapping. 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 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.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 MappingException Modifier and Type Method Description ProcedureCall
ProcedureCall. addSynchronizedEntityClass(Class entityClass)
ProcedureCall
ProcedureCall. addSynchronizedEntityName(String entityName)
-
Uses of MappingException in org.hibernate.processor.validation
Methods in org.hibernate.processor.validation that throw MappingException Modifier and Type Method Description String
MockSessionFactory. getIdentifierPropertyName(String className)
Type
MockSessionFactory. getIdentifierType(String className)
Type
MockSessionFactory. getReferencedPropertyType(String className, String propertyName)
-
Uses of MappingException in org.hibernate.query
Subclasses of MappingException in org.hibernate.query Modifier and Type Class Description class
UnknownSqlResultSetMappingException
Indicates 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)
SynchronizeableQuery
SynchronizeableQuery. addSynchronizedEntityClass(Class<?> entityClass)
Add all query spaces associated with the entity with the given type.NativeQuery<T>
NativeQuery. addSynchronizedEntityName(String entityName)
SynchronizeableQuery
SynchronizeableQuery. addSynchronizedEntityName(String entityName)
Add all query spaces associated with the entity with the given names. -
Uses of MappingException in org.hibernate.query.sql.internal
Methods in org.hibernate.query.sql.internal that throw MappingException Modifier and Type Method Description NativeQueryImplementor<R>
NativeQueryImpl. addSynchronizedEntityClass(Class entityClass)
NativeQueryImplementor<R>
NativeQueryImpl. addSynchronizedEntityName(String entityName)
-
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 String
AssociationType. getAssociatedEntityName(SessionFactoryImplementor factory)
Get the entity name of the associated entityString
CollectionType. getAssociatedEntityName(SessionFactoryImplementor factory)
Joinable
AssociationType. getAssociatedJoinable(SessionFactoryImplementor factory)
Get the "persister" for this association - a class or collection persisterJoinable
CollectionType. getAssociatedJoinable(SessionFactoryImplementor factory)
Joinable
EntityType. getAssociatedJoinable(SessionFactoryImplementor factory)
Retrieves theJoinable
defining the associated entity.int
AbstractStandardBasicType. getColumnSpan(Mapping mapping)
int
CollectionType. getColumnSpan(Mapping session)
int
ComponentType. getColumnSpan(Mapping mapping)
int
ManyToOneType. getColumnSpan(Mapping mapping)
int
MetaType. getColumnSpan(Mapping mapping)
Deprecated, for removal: This API element is subject to removal in a future version.int
OneToOneType. getColumnSpan(Mapping session)
int
SerializableToBlobType. getColumnSpan(Mapping mapping)
int
SpecialOneToOneType. getColumnSpan(Mapping mapping)
int
Type. getColumnSpan(Mapping mapping)
How many columns are used to persist this type?Type
CollectionType. getElementType(SessionFactoryImplementor factory)
Get the Hibernate type of the collection elementsString
EntityType. getIdentifierOrUniqueKeyPropertyName(Mapping factory)
The name of the property on the associated entity to which our FK refersType
EntityType. 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)
-
Uses of MappingException in org.hibernate.type.internal
Methods in org.hibernate.type.internal that throw MappingException Modifier and Type Method Description int
ConvertedBasicTypeImpl. getColumnSpan(Mapping mapping)
int[]
ConvertedBasicTypeImpl. getSqlTypeCodes(Mapping mapping)
-