Uses of Class
org.hibernate.MappingException
-
Packages that use MappingException Package Description org.hibernate org.hibernate.boot This package contains the contracts that make up the Hibernate native bootstrapping API (building a SessionFactory).org.hibernate.boot.spi org.hibernate.cfg org.hibernate.cfg.annotations org.hibernate.dialect.identity org.hibernate.dialect.sequence org.hibernate.engine.spi org.hibernate.id org.hibernate.id.enhanced Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified configurationorg.hibernate.mapping org.hibernate.persister.collection org.hibernate.persister.entity org.hibernate.procedure org.hibernate.query org.hibernate.query.sql.spi org.hibernate.type -
-
Uses of MappingException in org.hibernate
Subclasses of MappingException in org.hibernate Modifier and Type Class Description classAnnotationExceptionAnnotation related exception.classDuplicateMappingExceptionRaised whenever a duplicate for a certain type occurs.classInvalidMappingExceptionThrown when a mapping is found to be invalid.classPropertyNotFoundExceptionIndicates that an expected getter or setter method could not be found on a class.classUnknownEntityTypeExceptionIndicates an attempt was made to refer to an unknown entity name/class.Methods in org.hibernate that throw MappingException Modifier and Type Method Description SynchronizeableQuery<T>SynchronizeableQuery. addSynchronizedEntityClass(Class entityClass)Adds an entity for (a) auto-flush checking and (b) query result cache invalidation checking.default SynchronizeableQuery<T>SynchronizeableQuery. addSynchronizedEntityClass(Class<?>... entityClasses)Adds one-or-more entities (by class) whose tables should be added as synchronized spacesSynchronizeableQuery<T>SynchronizeableQuery. addSynchronizedEntityName(String entityName)Adds an entity name for (a) auto-flush checking and (b) query result cache invalidation checking.default SynchronizeableQuery<T>SynchronizeableQuery. addSynchronizedEntityName(String... entityNames)Adds one-or-more entities (by name) whose tables should be added as synchronized spaces -
Uses of MappingException in org.hibernate.boot
Subclasses of MappingException in org.hibernate.boot Modifier and Type Class Description classInvalidMappingExceptionclassMappingExceptionIndicates a problem parsing a mapping document.classMappingNotFoundExceptionclassUnsupportedOrmXsdVersionException -
Uses of MappingException in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi that throw MappingException Modifier and Type Method Description StringAbstractDelegatingMetadata. getIdentifierPropertyName(String className)TypeAbstractDelegatingMetadata. getIdentifierType(String className)StringInFlightMetadataCollector. getPhysicalColumnName(Table table, String logicalName)StringInFlightMetadataCollector. getPhysicalColumnName(Table table, Identifier logicalName)TypeAbstractDelegatingMetadata. getReferencedPropertyType(String className, String propertyName)voidAbstractDelegatingMetadata. validate()voidMetadataImplementor. validate() -
Uses of MappingException in org.hibernate.cfg
Subclasses of MappingException in org.hibernate.cfg Modifier and Type Class Description classCannotForceNonNullableExceptionIndicates an internal attempt to mark a column as non-nullable (because its part of a PK, etc) but we cannot force that column to be non-nullable.classNotYetImplementedExceptionMapping not yet implementedclassRecoverableExceptionDeprecated.Was only ever referenced in a single place, in an extremely dubious way.Methods in org.hibernate.cfg that throw MappingException Modifier and Type Method Description ConfigurationConfiguration. addCacheableFile(File xmlFile)Add a cached mapping file.ConfigurationConfiguration. addCacheableFile(String xmlFile)Add a cacheable mapping file.ConfigurationConfiguration. addClass(Class persistentClass)Read a mapping as an application resource using the convention that a class named foo.bar.Foo is mapped by a file foo/bar/Foo.hbm.xml which can be resolved as a classpath resource.ConfigurationConfiguration. addDirectory(File dir)Read all mapping documents from a directory tree.ConfigurationConfiguration. addDocument(Document doc)Deprecated.Use addURL, addResource, addFile, etc.ConfigurationConfiguration. addFile(File xmlFile)Read mappings from a particular XML fileConfigurationConfiguration. addFile(String xmlFile)Read mappings from a particular XML fileConfigurationConfiguration. addInputStream(InputStream xmlInputStream)Read mappings from anInputStream.ConfigurationConfiguration. addJar(File jar)Read all mappings from a jar fileConfigurationConfiguration. addPackage(String packageName)Read package-level metadata.ConfigurationConfiguration. addResource(String resourceName)Read mappings as a application resourceName (i.e.ConfigurationConfiguration. addResource(String resourceName, ClassLoader classLoader)Deprecated.This form (accepting a ClassLoader) is no longer supported.ConfigurationConfiguration. addURL(URL url)Read mappings from a URLConfigurationConfiguration. addXML(String xml)Deprecated.No longer supportedstatic voidAnnotationBinder. bindClass(org.hibernate.annotations.common.reflection.XClass clazzToProcess, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass, MetadataBuildingContext context)Bind a class having JSR175 annotations.voidCollectionSecondPass. doSecondPass(Map persistentClasses)voidCopyIdentifierComponentSecondPass. doSecondPass(Map persistentClasses)voidCreateKeySecondPass. doSecondPass(Map persistentClasses)voidIdGeneratorResolverSecondPass. doSecondPass(Map idGeneratorDefinitionMap)voidIndexOrUniqueKeySecondPass. doSecondPass(Map persistentClasses)voidJoinedSubclassFkSecondPass. doSecondPass(Map persistentClasses)voidOneToOneSecondPass. doSecondPass(Map persistentClasses)voidPkDrivenByDefaultMapsIdSecondPass. doSecondPass(Map persistentClasses)voidSecondaryTableSecondPass. doSecondPass(Map persistentClasses)voidSecondPass. doSecondPass(Map persistentClasses)voidSetBasicValueTypeSecondPass. doSecondPass(Map persistentClasses)voidSimpleToOneFkSecondPass. doSecondPass(Map persistentClasses)voidToOneFkSecondPass. doSecondPass(Map persistentClasses)voidVerifyFetchProfileReferenceSecondPass. doSecondPass(Map persistentClasses)org.hibernate.annotations.common.reflection.XClassPropertyData. getClassOrElement()Returns the returned class itself or the element type if an arrayorg.hibernate.annotations.common.reflection.XClassPropertyInferredData. getClassOrElement()org.hibernate.annotations.common.reflection.XClassPropertyPreloadedData. getClassOrElement()org.hibernate.annotations.common.reflection.XClassWrappedInferredData. getClassOrElement()StringPropertyData. getClassOrElementName()Returns the returned class name itself or the element type if an arrayStringPropertyInferredData. getClassOrElementName()StringPropertyPreloadedData. getClassOrElementName()StringWrappedInferredData. getClassOrElementName()AccessTypePropertyInferredData. getDefaultAccess()AccessTypePropertyPreloadedData. getDefaultAccess()org.hibernate.annotations.common.reflection.XClassPropertyData. getPropertyClass()Return the class itselforg.hibernate.annotations.common.reflection.XClassPropertyInferredData. getPropertyClass()org.hibernate.annotations.common.reflection.XClassPropertyPreloadedData. getPropertyClass()org.hibernate.annotations.common.reflection.XClassWrappedInferredData. getPropertyClass()StringPropertyData. getPropertyName()StringPropertyInferredData. getPropertyName()StringPropertyPreloadedData. getPropertyName()StringWrappedInferredData. getPropertyName()StringPropertyData. getTypeName()Returns the returned class name itselfStringPropertyInferredData. getTypeName()StringPropertyPreloadedData. getTypeName()StringWrappedInferredData. getTypeName()abstract voidCollectionSecondPass. secondPass(Map persistentClasses, Map inheritedMetas) -
Uses of MappingException in org.hibernate.cfg.annotations
Methods in org.hibernate.cfg.annotations that throw MappingException Modifier and Type Method Description voidResultsetMappingSecondPass. doSecondPass(Map persistentClasses) -
Uses of MappingException in org.hibernate.dialect.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 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)StringH2SequenceSupport. getSelectSequencePreviousValString(String sequenceName)StringLegacyDB2SequenceSupport. getSelectSequencePreviousValString(String sequenceName)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)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 CollectionPersisterSessionFactoryDelegatingImpl. getCollectionPersister(String role)default CollectionPersisterSessionFactoryImplementor. getCollectionPersister(String role)Deprecated.(since 5.2) UseMetamodelImplementor.collectionPersister(String)instead.EntityPersisterSessionFactoryDelegatingImpl. getEntityPersister(String entityName)default EntityPersisterSessionFactoryImplementor. getEntityPersister(String entityName)Deprecated.(since 5.2) UseMetamodelImplementor.entityPersister(Class)instead.StringMapping. getIdentifierPropertyName(String className)StringSessionFactoryDelegatingImpl. getIdentifierPropertyName(String className)TypeMapping. getIdentifierType(String className)TypeSessionFactoryDelegatingImpl. getIdentifierType(String className)String[]SessionFactoryDelegatingImpl. getImplementors(String className)TypeMapping. getReferencedPropertyType(String className, String propertyName)TypeSessionFactoryDelegatingImpl. getReferencedPropertyType(String className, String propertyName)BooleanVersionValue. isUnsaved(Object version)Constructors in org.hibernate.engine.spi that throw MappingException Constructor Description CollectionEntry(PersistentCollection collection, SessionFactoryImplementor factory)For initialized detached collections -
Uses of MappingException in org.hibernate.id
Methods in org.hibernate.id that throw MappingException Modifier and Type Method Description voidAssigned. configure(Type type, Properties params, ServiceRegistry serviceRegistry)voidConfigurable. configure(Type type, Properties params, ServiceRegistry serviceRegistry)Configure this instance, given the value of parameters specified by the user as <param> elements.voidForeignGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)voidIncrementGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)voidMultipleHiLoPerTableGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)Deprecated.voidSelectGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)voidSequenceGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)Deprecated.voidSequenceHiLoGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)Deprecated.voidSequenceIdentityGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)Deprecated.voidUUIDGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)voidUUIDHexGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)voidExportableColumn.ValueImpl. createForeignKey()TypeExportableColumn.ValueImpl. getType()booleanExportableColumn.ValueImpl. isValid(Mapping mapping)voidExportableColumn.ValueImpl. setTypeUsingReflection(String className, String propertyName) -
Uses of MappingException in org.hibernate.id.enhanced
Methods in org.hibernate.id.enhanced that throw MappingException Modifier and Type Method Description voidSequenceStyleGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)voidTableGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry) -
Uses of MappingException in org.hibernate.mapping
Methods in org.hibernate.mapping that throw MappingException Modifier and Type Method Description voidPersistentClass. addSubclass(Subclass subclass)voidRootClass. addSubclass(Subclass subclass)protected voidPersistentClass. checkColumnDuplication(Set<String> distinctColumns, Iterator<Selectable> columns)protected voidPersistentClass. checkPropertyColumnDuplication(Set distinctColumns, Iterator properties)voidCollection. createAllKeys()voidMap. createAllKeys()voidManyToOne. createForeignKey()voidOneToOne. createForeignKey()voidSimpleValue. createForeignKey()abstract voidToOne. createForeignKey()voidValue. createForeignKey()IdentifierGeneratorComponent. createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, String defaultCatalog, String defaultSchema, RootClass rootClass)IdentifierGeneratorKeyValue. createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, String defaultCatalog, String defaultSchema, RootClass rootClass)IdentifierGeneratorSimpleValue. createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, String defaultCatalog, String defaultSchema, RootClass rootClass)CascadeStyleProperty. getCascadeStyle()ClassComponent. getComponentClass()CollectionTypeArray. getDefaultCollectionType()abstract CollectionTypeCollection. getDefaultCollectionType()CollectionTypeList. getDefaultCollectionType()ClassArray. 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.SetterProperty. getSetter(Class clazz)intColumn. getSqlTypeCode(Mapping mapping)PropertyPersistentClass. getSubclassProperty(String propertyName)AnyTypeAny. getType()TypeAny.KeyValue. getType()TypeAny.MetaValue. getType()TypeBasicValue. getType()TypeCollection. getType()TypeComponent. getType()TypeDependantValue. getType()TypeManyToOne. getType()TypeOneToOne. getType()TypeProperty. getType()abstract TypeToOne. getType()TypeValue. getType()booleanAny. isValid(Mapping mapping)booleanAny.KeyValue. isValid(Mapping mapping)booleanCollection. isValid(Mapping mapping)booleanOneToMany. isValid(Mapping mapping)booleanProperty. isValid(Mapping mapping)booleanSimpleValue. isValid(Mapping mapping)booleanToOne. isValid(Mapping mapping)booleanValue. isValid(Mapping mapping)voidForeignKey. setReferencedTable(Table referencedTable)voidAny. setTypeUsingReflection(String className, String propertyName)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(Mapping mapping)voidPersistentClass. validate(Mapping mapping)voidRootClass. validate(Mapping mapping)voidSet. validate(Mapping mapping)voidSingleTableSubclass. validate(Mapping mapping)voidUnionSubclass. validate(Mapping 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 protected StringAbstractCollectionPersister. filterFragment(String alias)protected StringAbstractCollectionPersister. filterFragment(String alias, Set<String> treatAsDeclarations)StringOneToManyPersister. filterFragment(String alias)protected StringOneToManyPersister. filterFragment(String alias, Set<String> treatAsDeclarations)StringAbstractCollectionPersister. oneToManyFilterFragment(String alias)voidAbstractCollectionPersister. postInstantiate()voidCollectionPersister. postInstantiate()Constructors in org.hibernate.persister.collection that throw MappingException Constructor Description AbstractCollectionPersister(Collection collectionBootDescriptor, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext persisterCreationContext)BasicCollectionPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext)CompositeElementPropertyMapping(String[] elementColumns, String[] elementColumnReaders, String[] elementColumnReaderTemplates, String[] elementFormulaTemplates, CompositeType compositeType, Mapping factory)ElementPropertyMapping(String[] elementColumns, Type type)OneToManyPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext) -
Uses of MappingException in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity that throw MappingException Modifier and Type Method Description Size[]DiscriminatorType. defaultSizes(Mapping mapping)Size[]DiscriminatorType. dictatedSizes(Mapping mapping)protected StringAbstractEntityPersister. filterFragment(String alias)default StringJoinable. filterFragment(String alias, Map<String,Filter> enabledFilters)Get the where clause filter, given a query alias and considering enabled session filtersStringJoinable. filterFragment(String alias, Map<String,Filter> enabledFilters, Set<String> treatAsDeclarations)Get the where clause filter, given a query alias and considering enabled session filtersStringJoinable. filterFragment(TableGroup tableGroup, Map<String,Filter> enabledFilters, Set<String> treatAsDeclarations, boolean useIdentificationVariable)protected StringSingleTableEntityPersister. filterFragment(String alias)intDiscriminatorType. getColumnSpan(Mapping mapping)TypeAbstractEntityPersister. getPropertyType(String propertyName)Get the type of a particular property by name.TypeEntityPersister. getPropertyType(String propertyName)Get the type of a particular property by name.int[]DiscriminatorType. getSqlTypeCodes(Mapping mapping)protected voidAbstractPropertyMapping. initComponentPropertyPaths(String path, CompositeType type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Mapping factory)protected voidAbstractPropertyMapping. initIdentifierPropertyPaths(String path, EntityType etype, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Mapping factory)protected voidAbstractPropertyMapping. initIdentifierPropertyPaths(String path, EntityType etype, String[] columns, String[] columnReaders, String[] columnReaderTemplates, Mapping factory)protected voidAbstractEntityPersister. initPropertyPaths(Mapping mapping)protected voidAbstractPropertyMapping. initPropertyPaths(String path, Type type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Mapping factory)protected voidAbstractEntityPersister. initSubclassPropertyAliasesMap(PersistentClass model)Must be called by subclasses, at the end of their constructorsStringAbstractEntityPersister. oneToManyFilterFragment(String alias)StringJoinable. oneToManyFilterFragment(String alias)StringSingleTableEntityPersister. oneToManyFilterFragment(String alias)protected voidAbstractEntityPersister. postConstruct(Mapping mapping)Post-construct is a callback for AbstractEntityPersister subclasses to call after they are all done with their constructor processing.voidAbstractEntityPersister. postInstantiate()voidEntityPersister. postInstantiate()Finish the initialization of this object. -
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 classUnknownSqlResultSetMappingExceptionMethods in org.hibernate.query that throw MappingException Modifier and Type Method Description NativeQuery<T>NativeQuery. addSynchronizedEntityClass(Class<?> entityClass)SynchronizeableQuerySynchronizeableQuery. addSynchronizedEntityClass(Class<?> entityClass)Adds an entity for (a) auto-flush checking and (b) query result cache invalidation checking.NativeQuery<T>NativeQuery. addSynchronizedEntityName(String entityName)SynchronizeableQuerySynchronizeableQuery. addSynchronizedEntityName(String entityName)Adds an entity name for (a) auto-flush checking and (b) query result cache invalidation checking. -
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 Size[]AbstractStandardBasicType. defaultSizes(Mapping mapping)Size[]AnyType. defaultSizes(Mapping mapping)Size[]CollectionType. defaultSizes(Mapping mapping)Size[]ComponentType. defaultSizes(Mapping mapping)Size[]CustomType. defaultSizes(Mapping mapping)Size[]ManyToOneType. defaultSizes(Mapping mapping)Size[]MetaType. defaultSizes(Mapping mapping)Size[]OneToOneType. defaultSizes(Mapping mapping)Size[]SpecialOneToOneType. defaultSizes(Mapping mapping)Size[]Type. defaultSizes(Mapping mapping)Defines the column sizes to use according to this type if the user did not explicitly say (and if noType.dictatedSizes(org.hibernate.engine.spi.Mapping)were given).Size[]AbstractStandardBasicType. dictatedSizes(Mapping mapping)Size[]AnyType. dictatedSizes(Mapping mapping)Size[]CollectionType. dictatedSizes(Mapping mapping)Size[]ComponentType. dictatedSizes(Mapping mapping)Size[]CustomType. dictatedSizes(Mapping mapping)Size[]ManyToOneType. dictatedSizes(Mapping mapping)Size[]MetaType. dictatedSizes(Mapping mapping)Size[]OneToOneType. dictatedSizes(Mapping mapping)Size[]SpecialOneToOneType. dictatedSizes(Mapping mapping)Size[]Type. dictatedSizes(Mapping mapping)Return the column sizes dictated by this type.StringAssociationType. getAssociatedEntityName(SessionFactoryImplementor factory)Get the entity name of the associated entityStringCollectionType. getAssociatedEntityName(SessionFactoryImplementor factory)JoinableAssociationType. getAssociatedJoinable(SessionFactoryImplementor factory)Get the "persister" for this association - a class or collection persisterJoinableCollectionType. getAssociatedJoinable(SessionFactoryImplementor factory)JoinableEntityType. getAssociatedJoinable(SessionFactoryImplementor factory)Retrieves theJoinabledefining the associated entity.intAbstractStandardBasicType. getColumnSpan(Mapping mapping)intCollectionType. getColumnSpan(Mapping session)intComponentType. getColumnSpan(Mapping mapping)intManyToOneType. getColumnSpan(Mapping mapping)intMetaType. getColumnSpan(Mapping mapping)intOneToOneType. getColumnSpan(Mapping session)intSpecialOneToOneType. getColumnSpan(Mapping mapping)intType. getColumnSpan(Mapping mapping)How many columns are used to persist this type.TypeCollectionType. getElementType(SessionFactoryImplementor factory)Get the Hibernate type of the collection elementsStringEntityType. getIdentifierOrUniqueKeyPropertyName(Mapping factory)The name of the property on the associated entity to which our FK refersTypeEntityType. getIdentifierOrUniqueKeyType(Mapping factory)Determine the type of either (1) the identifier if we reference the associated entity's PK or (2) the unique key to which we refer (i.e.StringAssociationType. getOnCondition(String alias, SessionFactoryImplementor factory, Map enabledFilters)Get the "filtering" SQL fragment that is applied in the SQL on clause, in addition to the usual join conditionStringCollectionType. getOnCondition(String alias, SessionFactoryImplementor factory, Map enabledFilters)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)int[]OneToOneType. getSqlTypeCodes(Mapping session)int[]SpecialOneToOneType. getSqlTypeCodes(Mapping mapping)int[]Type. getSqlTypeCodes(Mapping mapping)Return the JDBC types codes (perTypes) for the columns mapped by this type.Constructors in org.hibernate.type that throw MappingException Constructor Description CustomType(UserType<J> userType, String[] registrationKeys, TypeConfiguration typeConfiguration)CustomType(UserType<J> userType, TypeConfiguration typeConfiguration)
-