Uses of Interface
org.hibernate.type.MappingContext
Packages that use MappingContext
Package
Description
This package contains the interfaces that make up the bootstrap API
for Hibernate.
A range of SPIs allowing integration with—and customization of—the process of building metadata.
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
.An internal package containing implementations of central Hibernate APIs,
mostly defined in
org.hibernate
.This package defines the Hibernate configuration-time mapping model.
This package abstracts persistence mechanisms for entities.
Validation for HQL queries.
A Hibernate
Type
is a strategy for mapping a Java
property type to a JDBC type or types.-
Uses of MappingContext in org.hibernate.boot
Subinterfaces of MappingContext in org.hibernate.bootModifier and TypeInterfaceDescriptioninterface
Represents the ORM model as determined by aggregating the provided mapping sources. -
Uses of MappingContext in org.hibernate.boot.internal
Classes in org.hibernate.boot.internal that implement MappingContextModifier and TypeClassDescriptionclass
The implementation of the in-flight metadata collector contract.class
Container for configuration data collected during binding the metamodel. -
Uses of MappingContext in org.hibernate.boot.spi
Subinterfaces of MappingContext in org.hibernate.boot.spiModifier and TypeInterfaceDescriptioninterface
An in-flight representation ofMetadata
while it is being built.interface
The SPI-levelMetadata
contract.Classes in org.hibernate.boot.spi that implement MappingContextModifier and TypeClassDescriptionclass
Convenience base class for custom implementors ofMetadataImplementor
using delegation. -
Uses of MappingContext in org.hibernate.engine.spi
Subinterfaces of MappingContext in org.hibernate.engine.spiModifier and TypeInterfaceDescriptioninterface
Deprecated.interface
Defines the internal contract between theSessionFactory
and the internal implementation of Hibernate.Classes in org.hibernate.engine.spi that implement MappingContextModifier and TypeClassDescriptionclass
Base delegating implementation of theSessionFactory
andSessionFactoryImplementor
contracts for intended for easier implementation ofSessionFactory
. -
Uses of MappingContext in org.hibernate.id
Methods in org.hibernate.id with parameters of type MappingContextModifier and TypeMethodDescriptionboolean
ExportableColumn.ValueImpl.isValid
(MappingContext mappingContext) -
Uses of MappingContext in org.hibernate.internal
Classes in org.hibernate.internal that implement MappingContext -
Uses of MappingContext in org.hibernate.mapping
Methods in org.hibernate.mapping with parameters of type MappingContextModifier and TypeMethodDescriptionColumn.getColumnSize
(Dialect dialect, MappingContext mappingContext) default JdbcMapping
Value.getSelectableType
(MappingContext mappingContext, int index) int
Column.getSqlTypeCode
(MappingContext mapping) boolean
Any.isValid
(MappingContext mappingContext) boolean
Any.MetaValue.isValid
(MappingContext mappingContext) boolean
Collection.isValid
(MappingContext mappingContext) boolean
Component.isValid
(MappingContext mappingContext) boolean
OneToMany.isValid
(MappingContext mappingContext) boolean
Property.isValid
(MappingContext mappingContext) boolean
SimpleValue.isValid
(MappingContext mappingContext) boolean
ToOne.isValid
(MappingContext mappingContext) boolean
Value.isValid
(MappingContext mappingContext) void
Collection.validate
(MappingContext mappingContext) void
IdentifierCollection.validate
(MappingContext mappingContext) void
IndexedCollection.validate
(MappingContext mappingContext) void
Set.validate
(MappingContext mappingContext) -
Uses of MappingContext in org.hibernate.metamodel.mapping.internal
Methods in org.hibernate.metamodel.mapping.internal with parameters of type MappingContextModifier and TypeMethodDescriptionstatic SelectableMappings
SelectableMappingsImpl.from
(String containingTableExpression, Value value, int[] propertyOrder, MappingContext mappingContext, TypeConfiguration typeConfiguration, boolean[] insertable, boolean[] updateable, Dialect dialect, SqmFunctionRegistry sqmFunctionRegistry, RuntimeModelCreationContext creationContext) -
Uses of MappingContext in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity with parameters of type MappingContextModifier and TypeMethodDescriptionint
DiscriminatorType.getColumnSpan
(MappingContext mapping) 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.boolean[]
DiscriminatorType.toColumnNullness
(Object value, MappingContext mapping) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of MappingContext in org.hibernate.processor.validation
Classes in org.hibernate.processor.validation that implement MappingContextModifier and TypeClassDescriptionclass
class
Implementation of theMock
objects based on standard annotation processor APIs.Methods in org.hibernate.processor.validation with parameters of type MappingContextModifier and TypeMethodDescriptionint
ProcessorSessionFactory.Component.getColumnSpan
(MappingContext mapping) -
Uses of MappingContext in org.hibernate.testing.orm.junit
Classes in org.hibernate.testing.orm.junit that implement MappingContext -
Uses of MappingContext in org.hibernate.type
Methods in org.hibernate.type with parameters of type MappingContextModifier and TypeMethodDescriptionMetaType.fromXMLString
(String xml, MappingContext mappingContext) final int
AbstractStandardBasicType.getColumnSpan
(MappingContext mapping) int
AnyType.getColumnSpan
(MappingContext session) int
CollectionType.getColumnSpan
(MappingContext session) int
ComponentType.getColumnSpan
(MappingContext mapping) int
CustomType.getColumnSpan
(MappingContext session) 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) int
Type.getColumnSpan
(MappingContext mappingContext) How many columns are used to persist this type?final String
EntityType.getIdentifierOrUniqueKeyPropertyName
(MappingContext mappingContext) The name of the property on the associated entity to which our FK refersfinal 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.final int[]
AbstractStandardBasicType.getSqlTypeCodes
(MappingContext mappingContext) int[]
AnyType.getSqlTypeCodes
(MappingContext mappingContext) int[]
CollectionType.getSqlTypeCodes
(MappingContext mappingContext) int[]
ComponentType.getSqlTypeCodes
(MappingContext mappingContext) int[]
CustomType.getSqlTypeCodes
(MappingContext mappingContext) int[]
ManyToOneType.getSqlTypeCodes
(MappingContext mappingContext) int[]
MetaType.getSqlTypeCodes
(MappingContext mappingContext) int[]
OneToOneType.getSqlTypeCodes
(MappingContext mappingContext) final int[]
SerializableToBlobType.getSqlTypeCodes
(MappingContext mappingContext) int[]
SpecialOneToOneType.getSqlTypeCodes
(MappingContext mappingContext) int[]
Type.getSqlTypeCodes
(MappingContext mappingContext) protected Type
EntityType.requireIdentifierOrUniqueKeyType
(MappingContext mapping) boolean[]
AbstractStandardBasicType.toColumnNullness
(Object value, MappingContext mapping) boolean[]
AnyType.toColumnNullness
(Object value, MappingContext mapping) boolean[]
CollectionType.toColumnNullness
(Object value, MappingContext mapping) boolean[]
ComponentType.toColumnNullness
(Object value, MappingContext mapping) boolean[]
CustomType.toColumnNullness
(Object value, MappingContext mapping) boolean[]
ManyToOneType.toColumnNullness
(Object value, MappingContext mapping) boolean[]
MetaType.toColumnNullness
(Object value, MappingContext mapping) boolean[]
OneToOneType.toColumnNullness
(Object value, MappingContext mapping) boolean[]
SerializableToBlobType.toColumnNullness
(Object value, MappingContext mapping) boolean[]
Type.toColumnNullness
(@Nullable Object value, MappingContext mappingContext) Given an instance of the type, return an array ofboolean
values indicating which mapped columns would be null. -
Uses of MappingContext in org.hibernate.type.internal
Methods in org.hibernate.type.internal with parameters of type MappingContextModifier and TypeMethodDescriptionfinal int
ConvertedBasicTypeImpl.getColumnSpan
(MappingContext mapping) final int[]
ConvertedBasicTypeImpl.getSqlTypeCodes
(MappingContext mappingContext) boolean[]
ConvertedBasicTypeImpl.toColumnNullness
(Object value, MappingContext mapping)
TypeConfiguration
,Metadata
, orRuntimeMetamodels
orMappingContext
to access such information