Uses of Interface
org.hibernate.type.Type
Packages that use Type
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.A range of SPIs allowing integration with—and customization of—the process of building metadata.
Support for bytecode interceptor implementations.
Internal implementations and support for second-level caching.
This package defines the SPI of a framework for lazy-initializing
and state-tracking collection wrappers.
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
This package defines a default set of event listeners that implement
the default behaviors of Hibernate session operations.
This package defines an abstraction over all kinds of automatic
value generation, including id generation and version number
generation.
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
This package defines the Hibernate configuration-time mapping model.
Defines the runtime mapping metamodel, which describes the mapping
of the application's domain model parts (entities, attributes) to
relational database objects (tables, columns).
This package abstracts persistence mechanisms for collections.
This package abstracts persistence mechanisms for entities.
Contains some functions for pretty-printing things for exception and log messages.
Validation for HQL queries.
Contains a range of internal abstractions for dealing with query execution,
query plans, query options, and query parameters.
Most contracts here have been replaced by the new runtime
mapping model.
A Hibernate
Type
is a strategy for mapping a Java
property type to a JDBC type or types.Implements the SPI for basic-typed value conversions.
An API for working with abstract families of DDL types
parameterized by varying length, precision, and scale.
Includes several general-purpose implementations of
DdlType
.Defines a registry for
DdlType
s.Defines a registry for Hibernate
Type
s.-
Uses of Type in org.hibernate
Methods in org.hibernate that return TypeModifier and TypeMethodDescriptionCustomEntityDirtinessStrategy.AttributeInformation.getType()
Get the mapping type of this attribute.Methods in org.hibernate with parameters of type TypeModifier and TypeMethodDescriptiondefault int[]
Interceptor.findDirty
(Object entity, Object id, Object[] currentState, Object[] previousState, String[] propertyNames, Type[] types) Called fromflush()
.default void
Interceptor.onDelete
(Object entity, Object id, Object[] state, String[] propertyNames, Type[] types) Deprecated.default void
Called before a record is deleted by aStatelessSession
.default boolean
Interceptor.onFlushDirty
(Object entity, Object id, Object[] currentState, Object[] previousState, String[] propertyNames, Type[] types) Called when an object is detected to be dirty, during a flush.default void
Interceptor.onInsert
(Object entity, Object id, Object[] state, String[] propertyNames, Type[] propertyTypes) Called before a record is inserted by aStatelessSession
.default boolean
Called just before an object is initialized.default boolean
Interceptor.onPersist
(Object entity, Object id, Object[] state, String[] propertyNames, Type[] types) Called before an object is made persistent by a stateful session.default void
Interceptor.onRemove
(Object entity, Object id, Object[] state, String[] propertyNames, Type[] types) Called before an object is removed by a stateful session.default boolean
default void
Interceptor.onUpdate
(Object entity, Object id, Object[] state, String[] propertyNames, Type[] propertyTypes) Called before a record is updated by aStatelessSession
.default void
Interceptor.onUpsert
(Object entity, Object id, Object[] state, String[] propertyNames, Type[] propertyTypes) Called before a record is upserted by aStatelessSession
. -
Uses of Type in org.hibernate.boot.internal
Methods in org.hibernate.boot.internal that return TypeModifier and TypeMethodDescriptionInFlightMetadataCollectorImpl.getIdentifierType
(String entityName) MetadataImpl.getIdentifierType
(String entityName) InFlightMetadataCollectorImpl.getReferencedPropertyType
(String entityName, String propertyName) MetadataImpl.getReferencedPropertyType
(String entityName, String propertyName) -
Uses of Type in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi that return TypeModifier and TypeMethodDescriptionAbstractDelegatingMetadata.getIdentifierType
(String className) AbstractDelegatingMetadata.getReferencedPropertyType
(String className, String propertyName) -
Uses of Type in org.hibernate.bytecode.enhance.spi.interceptor
Methods in org.hibernate.bytecode.enhance.spi.interceptor that return Type -
Uses of Type in org.hibernate.cache.internal
Constructors in org.hibernate.cache.internal with parameters of type TypeModifierConstructorDescriptionBasicCacheKeyImplementation
(Object originalId, Serializable disassembledKey, Type type, String entityOrRoleName) Being an internal contract the arguments are not being checked.CacheKeyImplementation
(Object id, Serializable disassembledKey, Type type, String entityOrRoleName, String tenantId) Construct a new key for a collection or entity instance. -
Uses of Type in org.hibernate.collection.spi
Methods in org.hibernate.collection.spi with parameters of type TypeModifier and TypeMethodDescriptionprotected final E
AbstractPersistentCollection.AbstractValueDelayedOperation.getReplacement
(Type type, Object current, Map<Object, Object> copyCache) boolean
PersistentArrayHolder.needsInserting
(Object entry, int i, Type elemType) boolean
PersistentBag.needsInserting
(Object entry, int i, Type elemType) boolean
PersistentCollection.needsInserting
(Object entry, int i, Type elemType) Do we need to insert this element?boolean
PersistentIdentifierBag.needsInserting
(Object entry, int i, Type elemType) boolean
PersistentList.needsInserting
(Object entry, int i, Type elemType) boolean
PersistentMap.needsInserting
(Object entry, int i, Type elemType) boolean
PersistentSet.needsInserting
(Object entry, int i, Type elemType) boolean
PersistentArrayHolder.needsUpdating
(Object entry, int i, Type elemType) boolean
PersistentBag.needsUpdating
(Object entry, int i, Type elemType) boolean
PersistentCollection.needsUpdating
(Object entry, int i, Type elemType) Do we need to update this element?boolean
PersistentIdentifierBag.needsUpdating
(Object entry, int i, Type elemType) boolean
PersistentList.needsUpdating
(Object entry, int i, Type elemType) boolean
PersistentMap.needsUpdating
(Object entry, int i, Type elemType) boolean
PersistentSet.needsUpdating
(Object entry, int i, Type elemType) -
Uses of Type in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return TypeModifier and TypeMethodDescriptionSessionFactoryDelegatingImpl.getIdentifierType
(String className) SessionFactoryDelegatingImpl.getReferencedPropertyType
(String className, String propertyName) TypedValue.getType()
Methods in org.hibernate.engine.spi with parameters of type TypeModifier and TypeMethodDescriptionstatic int
EntityUniqueKey.generateHashCode
(String entityName, String uniqueKeyName, Type keyType, Object key, SessionFactoryImplementor factory) default void
CascadingAction.noCascade
(EventSource session, Object parent, EntityPersister persister, Type propertyType, int propertyIndex) Deprecated, for removal: This API element is subject to removal in a future version.No longer usedConstructors in org.hibernate.engine.spi with parameters of type TypeModifierConstructorDescriptionEntityUniqueKey
(String entityName, String uniqueKeyName, Object key, Type keyType, SessionFactoryImplementor factory) TypedValue
(Type type, Object value) -
Uses of Type in org.hibernate.envers.configuration.internal.metadata
Methods in org.hibernate.envers.configuration.internal.metadata with parameters of type TypeModifier and TypeMethodDescriptionprotected void
AbstractMetadataGenerator.throwUnsupportedTypeException
(Type type, String entityName, String propertyName) -
Uses of Type in org.hibernate.envers.configuration.internal.metadata.reader
Methods in org.hibernate.envers.configuration.internal.metadata.reader that return TypeModifier and TypeMethodDescriptionPropertyAuditingData.getPropertyType()
PropertyAuditingData.getVirtualPropertyType()
Methods in org.hibernate.envers.configuration.internal.metadata.reader with parameters of type TypeModifier and TypeMethodDescriptionvoid
PropertyAuditingData.setPropertyType
(Type propertyType) void
PropertyAuditingData.setVirtualPropertyType
(Type virtualPropertyType) -
Uses of Type in org.hibernate.envers.enhanced
Methods in org.hibernate.envers.enhanced with parameters of type TypeModifier and TypeMethodDescriptionprotected DatabaseStructure
OrderedSequenceGenerator.buildSequenceStructure
(Type type, Properties params, JdbcEnvironment jdbcEnvironment, QualifiedName sequenceName, int initialValue, int incrementSize) -
Uses of Type in org.hibernate.envers.internal.entities
Methods in org.hibernate.envers.internal.entities that return TypeMethods in org.hibernate.envers.internal.entities with parameters of type TypeModifier and TypeMethodDescriptionstatic PropertyData
PropertyData.forProperty
(String propertyName, Type propertyType) Constructors in org.hibernate.envers.internal.entities with parameters of type TypeModifierConstructorDescriptionPropertyData
(String name, String beanName, String accessType, boolean usingModifiedFlag, String modifiedFlagName, boolean synthetic, Type propertyType, Class<?> virtualReturnClass, PropertyAccessStrategy propertyAccessStrategy) PropertyData
(String name, String beanName, String accessType, boolean usingModifiedFlag, String modifiedFlagName, boolean synthetic, Type propertyType, PropertyAccessStrategy propertyAccessStrategy) PropertyData
(String name, String beanName, String accessType, Type propertyType) -
Uses of Type in org.hibernate.event.internal
Methods in org.hibernate.event.internal with parameters of type TypeModifier and TypeMethodDescriptionvoid
AbstractVisitor.processEntityPropertyValues
(Object[] values, Type[] types) Dispatch each property value to processValue().protected void
WrapVisitor.processValue
(int i, Object[] values, Type[] types) protected boolean
AbstractSaveEventListener.visitCollectionsBeforeSave
(Object entity, Object id, Object[] values, Type[] types, EventSource source) protected boolean
DefaultReplicateEventListener.visitCollectionsBeforeSave
(Object entity, Object id, Object[] values, Type[] types, EventSource source) Deprecated. -
Uses of Type in org.hibernate.generator
Methods in org.hibernate.generator that return Type -
Uses of Type in org.hibernate.id
Methods in org.hibernate.id that return TypeMethods in org.hibernate.id with parameters of type TypeModifier and TypeMethodDescriptiondefault void
Configurable.configure
(Type type, Properties parameters, ServiceRegistry serviceRegistry) Deprecated, for removal: This API element is subject to removal in a future version.default void
IdentifierGenerator.configure
(Type type, Properties parameters, ServiceRegistry serviceRegistry) Deprecated, for removal: This API element is subject to removal in a future version.since it overrides a deprecated methoddefault void
PostInsertIdentifierGenerator.configure
(Type type, Properties parameters, ServiceRegistry serviceRegistry) Noop default implementation. -
Uses of Type in org.hibernate.id.enhanced
Methods in org.hibernate.id.enhanced that return TypeModifier and TypeMethodDescriptionSequenceStyleGenerator.getIdentifierType()
Getter for property 'identifierType'.final Type
TableGenerator.getIdentifierType()
Type mapping for the identifier.Methods in org.hibernate.id.enhanced with parameters of type TypeModifier and TypeMethodDescriptionprotected DatabaseStructure
SequenceStyleGenerator.buildDatabaseStructure
(Type type, Properties params, JdbcEnvironment jdbcEnvironment, boolean forceTableUse, QualifiedName sequenceName, int initialValue, int incrementSize) Build the database structure.protected DatabaseStructure
SequenceStyleGenerator.buildSequenceStructure
(Type type, Properties params, JdbcEnvironment jdbcEnvironment, QualifiedName sequenceName, int initialValue, int incrementSize) protected DatabaseStructure
SequenceStyleGenerator.buildTableStructure
(Type type, Properties params, JdbcEnvironment jdbcEnvironment, QualifiedName sequenceName, int initialValue, int incrementSize) -
Uses of Type in org.hibernate.internal
Methods in org.hibernate.internal that return TypeModifier and TypeMethodDescriptionSessionFactoryImpl.getIdentifierType
(String className) SessionFactoryImpl.getReferencedPropertyType
(String className, String propertyName) Methods in org.hibernate.internal with parameters of type TypeModifier and TypeMethodDescriptionint[]
EmptyInterceptor.findDirty
(Object entity, Object id, Object[] currentState, Object[] previousState, String[] propertyNames, Type[] types) void
EmptyInterceptor.onDelete
(Object entity, Object id, Object[] state, String[] propertyNames, Type[] types) boolean
EmptyInterceptor.onFlushDirty
(Object entity, Object id, Object[] currentState, Object[] previousState, String[] propertyNames, Type[] types) boolean
EmptyInterceptor.onLoad
(Object entity, Object id, Object[] state, String[] propertyNames, Type[] types) boolean
EmptyInterceptor.onSave
(Object entity, Object id, Object[] state, String[] propertyNames, Type[] types) -
Uses of Type in org.hibernate.internal.util
Methods in org.hibernate.internal.util with parameters of type Type -
Uses of Type in org.hibernate.internal.util.collections
Fields in org.hibernate.internal.util.collections declared as TypeMethods in org.hibernate.internal.util.collections that return TypeMethod parameters in org.hibernate.internal.util.collections with type arguments of type Type -
Uses of Type in org.hibernate.mapping
Methods in org.hibernate.mapping that return TypeModifier and TypeMethodDescriptionAny.KeyValue.getType()
Any.MetaValue.getType()
BasicValue.getType()
Collection.getType()
DependantValue.getType()
ManyToOne.getType()
OneToMany.getType()
OneToOne.getType()
Property.getType()
Value.getType()
Methods in org.hibernate.mapping with parameters of type TypeModifier and TypeMethodDescriptionstatic AnyType
MappingHelper.anyMapping
(Type discriminatorType, Type identifierType, Map<Object, String> explicitValeMappings, boolean lazy, MetadataBuildingContext buildingContext) static AnyType
MappingHelper.anyMapping
(Type discriminatorType, Type identifierType, Map<Object, String> explicitValeMappings, ImplicitDiscriminatorStrategy implicitValueStrategy, boolean lazy, MetadataBuildingContext buildingContext) -
Uses of Type in org.hibernate.metamodel.mapping
Subinterfaces of Type in org.hibernate.metamodel.mappingModifier and TypeInterfaceDescriptioninterface
Union ofConvertedBasicType
andBasicDomainType
capabilities. -
Uses of Type in org.hibernate.metamodel.mapping.internal
Classes in org.hibernate.metamodel.mapping.internal that implement TypeModifier and TypeClassDescriptionclass
Specialization of ConvertedBasicTypeImpl to expose access to theDiscriminatorTypeImpl.underlyingJdbcMapping
of this discriminator - the bit that handles the relationship between the relational JavaType and the JdbcTypeMethods in org.hibernate.metamodel.mapping.internal with parameters of type TypeModifier and TypeMethodDescriptionstatic void
ToOneAttributeMapping.addPrefixedPropertyNames
(Set<String> targetKeyPropertyNames, String prefix, Type type, SessionFactoryImplementor factory) static void
ToOneAttributeMapping.addPrefixedPropertyPaths
(Set<String> targetKeyPropertyNames, String prefix, Type type, SessionFactoryImplementor factory) void
protected static AttributeMetadata
MappingModelCreationHelper.getAttributeMetadata
(Property bootProperty, Type attrType, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, MappingModelCreationProcess creationProcess) -
Uses of Type in org.hibernate.persister.collection
Fields in org.hibernate.persister.collection declared as TypeModifier and TypeFieldDescriptionprotected final Type
AbstractCollectionPersister.elementType
Deprecated.Methods in org.hibernate.persister.collection that return TypeModifier and TypeMethodDescriptionAbstractCollectionPersister.getElementType()
CollectionPersister.getElementType()
Deprecated, for removal: This API element is subject to removal in a future version.Hibernate is moving away fromType
.AbstractCollectionPersister.getIdentifierType()
CollectionPersister.getIdentifierType()
Deprecated, for removal: This API element is subject to removal in a future version.Hibernate is moving away fromType
.AbstractCollectionPersister.getIndexType()
CollectionPersister.getIndexType()
Deprecated, for removal: This API element is subject to removal in a future version.Hibernate is moving away fromType
.AbstractCollectionPersister.getKeyType()
CollectionPersister.getKeyType()
Deprecated, for removal: This API element is subject to removal in a future version.Hibernate is moving away fromType
. -
Uses of Type in org.hibernate.persister.entity
Classes in org.hibernate.persister.entity that implement TypeModifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.The functionality of DiscriminatorType,DiscriminatorMetadata
andMetaType
have been consolidated intoEntityDiscriminatorMapping
andDiscriminatorConverter
Methods in org.hibernate.persister.entity that return TypeModifier and TypeMethodDescriptionEntityPersister.getDiscriminatorType()
Get the discriminator typeAbstractEntityPersister.getIdentifierType()
EntityPersister.getIdentifierType()
Get the identifier typeAbstractEntityPersister.getPropertyType
(String propertyName) Deprecated.by the supertypesEntityPersister.getPropertyType
(String propertyName) Deprecated, for removal: This API element is subject to removal in a future version.UniqueKeyEntry.getPropertyType()
Type[]
AbstractEntityPersister.getPropertyTypes()
Type[]
EntityPersister.getPropertyTypes()
Get the Hibernate types of the class propertiesDiscriminatorMetadata.getResolutionType()
Deprecated, for removal: This API element is subject to removal in a future version.Get the type used to resolve the actual discriminator value.AbstractEntityPersister.getSubclassPropertyType
(int i) protected Type[]
AbstractEntityPersister.getSubclassPropertyTypeClosure()
Constructors in org.hibernate.persister.entity with parameters of type TypeModifierConstructorDescriptionUniqueKeyEntry
(String uniqueKeyName, int stateArrayPosition, Type propertyType) -
Uses of Type in org.hibernate.pretty
Methods in org.hibernate.pretty with parameters of type TypeModifier and TypeMethodDescriptionstatic String
MessageHelper.infoString
(@Nullable EntityPersister persister, @Nullable Object id, Type identifierType, SessionFactoryImplementor factory) Generate an info message string relating to a particular entity,. -
Uses of Type in org.hibernate.processor.validation
Classes in org.hibernate.processor.validation that implement TypeMethods in org.hibernate.processor.validation that return TypeModifier and TypeMethodDescriptionMockEntityPersister.getDiscriminatorType()
MockCollectionPersister.getElementType()
MockCollectionPersister.getIdentifierType()
MockEntityPersister.getIdentifierType()
Override on subclasses!MockSessionFactory.getIdentifierType
(String className) MockCollectionPersister.getIndexType()
MockCollectionPersister.getKeyType()
final Type
MockEntityPersister.getPropertyType
(String propertyPath) MockSessionFactory.getReferencedPropertyType
(String className, String propertyName) MockEntityPersister.getResolutionType()
Type[]
ProcessorSessionFactory.Component.getSubtypes()
protected abstract Type
MockEntityPersister.identifierType()
ProcessorSessionFactory.EntityPersister.identifierType()
Constructors in org.hibernate.processor.validation with parameters of type TypeModifierConstructorDescriptionMockCollectionPersister
(String role, CollectionType collectionType, Type elementType, MockSessionFactory factory) -
Uses of Type in org.hibernate.query.spi
Methods in org.hibernate.query.spi that return TypeModifier and TypeMethodDescriptionQueryParameterListBinding.getBindType()
Get the Type currently associated with this binding. -
Uses of Type in org.hibernate.spatial.dialect.hana
Methods in org.hibernate.spatial.dialect.hana with parameters of type TypeModifier and TypeMethodDescriptionHANASpatialFunction.render
(Type firstArgumentType, List arguments, SessionFactoryImplementor sessionFactory) -
Uses of Type in org.hibernate.sql.results.graph.collection.internal
Fields in org.hibernate.sql.results.graph.collection.internal declared as TypeModifier and TypeFieldDescriptionprotected final @Nullable Type
AbstractCollectionInitializer.keyTypeForEqualsHashCode
-
Uses of Type in org.hibernate.sql.results.graph.entity.internal
Fields in org.hibernate.sql.results.graph.entity.internal declared as TypeModifier and TypeFieldDescriptionprotected final Type
BatchEntitySelectFetchInitializer.referencedModelPartType
protected final Type[]
BatchEntityInsideEmbeddableSelectFetchInitializer.rootEmbeddablePropertyTypes
protected final Type[]
EntityInitializerImpl.EntityInitializerData.uniqueKeyPropertyTypes
Methods in org.hibernate.sql.results.graph.entity.internal that return TypeModifier and TypeMethodDescriptionprotected Type[]
BatchEntityInsideEmbeddableSelectFetchInitializer.getParentEntityAttributeTypes
(String attributeName) protected Type[]
EntityInitializerImpl.getParentEntityAttributeTypes
(String attributeName) Methods in org.hibernate.sql.results.graph.entity.internal with parameters of type TypeModifier and TypeMethodDescriptionprotected void
BatchEntityInsideEmbeddableSelectFetchInitializer.initializeAttributeType
(Type[] attributeTypes, EntityPersister entityDescriptor, String attributeName) protected void
EntityInitializerImpl.initializeAttributeType
(Type[] attributeTypes, EntityPersister entityDescriptor, String attributeName) -
Uses of Type in org.hibernate.testing.orm.junit
Methods in org.hibernate.testing.orm.junit that return TypeModifier and TypeMethodDescriptionDialectFeatureChecks.FakeMetadataBuildingContext.getIdentifierType
(String className) DialectFeatureChecks.FakeMetadataBuildingContext.getReferencedPropertyType
(String className, String propertyName) -
Uses of Type in org.hibernate.tuple
Methods in org.hibernate.tuple that return TypeModifier and TypeMethodDescriptionAbstractAttribute.getType()
Deprecated, for removal: This API element is subject to removal in a future version.Attribute.getType()
Deprecated, for removal: This API element is subject to removal in a future version.Constructors in org.hibernate.tuple with parameters of type TypeModifierConstructorDescriptionprotected
AbstractAttribute
(String attributeName, Type attributeType) Deprecated, for removal: This API element is subject to removal in a future version.protected
AbstractNonIdentifierAttribute
(AttributeSource source, SessionFactoryImplementor sessionFactory, int attributeNumber, String attributeName, Type attributeType, BaselineAttributeInformation attributeInformation) Deprecated, for removal: This API element is subject to removal in a future version.IdentifierProperty
(String name, Type type, boolean embedded, Generator identifierGenerator) Deprecated, for removal: This API element is subject to removal in a future version.Construct a non-virtual identifier property.IdentifierProperty
(Type type, boolean embedded, boolean hasIdentifierMapper, Generator identifierGenerator) Deprecated, for removal: This API element is subject to removal in a future version.Construct a virtual IdentifierProperty.StandardProperty
(String name, Type type, boolean lazy, boolean insertable, boolean updateable, boolean nullable, boolean checkable, boolean versionable, CascadeStyle cascadeStyle, FetchMode fetchMode) Deprecated, for removal: This API element is subject to removal in a future version.Constructs NonIdentifierProperty instances. -
Uses of Type in org.hibernate.tuple.entity
Methods in org.hibernate.tuple.entity that return TypeModifier and TypeMethodDescription@Nullable Type[]
EntityMetamodel.getDirtyCheckablePropertyTypes()
Deprecated, for removal: This API element is subject to removal in a future version.Type[]
EntityMetamodel.getPropertyTypes()
Deprecated, for removal: This API element is subject to removal in a future version.Constructors in org.hibernate.tuple.entity with parameters of type TypeModifierConstructorDescriptionprotected
AbstractEntityBasedAttribute
(EntityPersister source, SessionFactoryImplementor sessionFactory, int attributeNumber, String attributeName, Type attributeType, BaselineAttributeInformation attributeInformation) Deprecated, for removal: This API element is subject to removal in a future version.EntityBasedBasicAttribute
(EntityPersister source, SessionFactoryImplementor factory, int attributeNumber, String attributeName, Type attributeType, BaselineAttributeInformation baselineInfo) Deprecated, for removal: This API element is subject to removal in a future version.VersionProperty
(EntityPersister source, SessionFactoryImplementor sessionFactory, int attributeNumber, String attributeName, Type attributeType, BaselineAttributeInformation attributeInformation) Deprecated, for removal: This API element is subject to removal in a future version.Constructs VersionProperty instances. -
Uses of Type in org.hibernate.type
Subinterfaces of Type in org.hibernate.typeModifier and TypeInterfaceDescriptioninterface
Extension contract forBasicType
implementations which understand how to adjust themselves relative to where/how they're used by, for example, accounting for LOB, nationalized, primitive/wrapper, etc.interface
A type that represents some kind of association between entities.interface
BasicPluralType<C,
E> A basic plural type.interface
BasicType<T>
Marker interface for basic types.interface
Represents a composite type, a type which itself has typed attributes.interface
Extension for implementations ofBasicType
which have an implied conversion.Classes in org.hibernate.type that implement TypeModifier and TypeClassDescriptionclass
TODO : javadocclass
Convenience base class forBasicType
implementations.class
Abstract superclass of the built-inType
hierarchy.class
Handles "any" mappingsclass
A type for persistent arrays.class
class
BasicArrayType<T,
E> A type that maps betweenARRAY
andT[]
class
BasicCollectionType<C extends Collection<E>,
E> A type that maps betweenARRAY
andCollection<T>
class
A type that is assignable to every non-primitive type, that is, the type ofnull
.class
A type that handles HibernatePersistentCollection
s (including arrays).class
Handles embedded mappings.class
ConvertedBasicArrayType<T,
S, E> Given aBasicValueConverter
for an array type,class
ConvertedBasicCollectionType<C extends Collection<E>,
E> A converted basic array type.class
A custom type for mapping user-written classes that implementPersistentCollection
class
CustomType<J>
class
class
Base for types which map associations to persistent entities.class
class
class
class
A many-to-one association to an entity.class
class
class
class
A one-to-one association to an entityclass
A specialization of the map type, with (resultset-based) ordering.class
A specialization of the set type, with (resultset-based) ordering.class
class
SerializableToBlobType<T extends Serializable>
class
SerializableType<T extends Serializable>
A type that maps between aVARBINARY
andSerializable
classes.class
class
class
class
A one-to-one association that maps to specific formula(s) instead of the primary key column of the owning entity.class
A BasicType adapter targeting partial portability to 6.0's type system changes.class
HandlesCompositeUserType
s.Methods in org.hibernate.type that return TypeModifier and TypeMethodDescriptionMetaType.getBaseType()
AnyType.getDiscriminatorType()
final Type
CollectionType.getElementType
(SessionFactoryImplementor factory) Get the Hibernate type of the collection elementsfinal 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.AnyType.getIdentifierType()
MappingContext.getIdentifierType
(String className) MappingContext.getReferencedPropertyType
(String className, String propertyName) Type[]
AnyType.getSubtypes()
Type[]
ComponentType.getSubtypes()
Type[]
CompositeType.getSubtypes()
Get the types of the component properties@Nullable Type
AbstractStandardBasicType.getTypeForEqualsHashCode()
default @Nullable Type
Type.getTypeForEqualsHashCode()
The type to use forequals()
andhashCode()
computation.protected Type
EntityType.requireIdentifierOrUniqueKeyType
(MappingContext mapping) Methods in org.hibernate.type with parameters of type TypeModifier and TypeMethodDescriptionstatic void
TypeHelper.deepCopy
(Object[] values, Type[] types, boolean[] copy, Object[] target, SharedSessionContractImplementor session) Deep copy a series of values from one array to another...static Object[]
TypeHelper.replace
(Object[] original, Object[] target, Type[] types, SharedSessionContractImplementor session, Object owner, Map<Object, Object> copyCache) Apply thereplace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object, java.util.Map<java.lang.Object, java.lang.Object>)
operation across a series of values.static Object[]
TypeHelper.replace
(Object[] original, Object[] target, Type[] types, SharedSessionContractImplementor session, Object owner, Map<Object, Object> copyCache, ForeignKeyDirection foreignKeyDirection) Apply thereplace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object, java.util.Map<java.lang.Object, java.lang.Object>)
operation across a series of values.static Object[]
TypeHelper.replaceAssociations
(Object[] original, Object[] target, Type[] types, SharedSessionContractImplementor session, Object owner, Map<Object, Object> copyCache, ForeignKeyDirection foreignKeyDirection) Apply thereplace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object, java.util.Map<java.lang.Object, java.lang.Object>)
operation across a series of values, as long as the correspondingType
is an association.Constructors in org.hibernate.type with parameters of type TypeModifierConstructorDescriptionAnyType
(TypeConfiguration typeConfiguration, MetaType discriminatorType, Type identifierType, boolean lazy) AnyType
(TypeConfiguration typeConfiguration, Type discriminatorType, Type identifierType, boolean lazy) Deprecated.MetaType
(Type valueType, ImplicitDiscriminatorStrategy implicitValueStrategy, Map<Object, String> explicitValueMappings) -
Uses of Type in org.hibernate.type.descriptor.converter.internal
Methods in org.hibernate.type.descriptor.converter.internal with parameters of type Type -
Uses of Type in org.hibernate.type.descriptor.sql
Methods in org.hibernate.type.descriptor.sql with parameters of type TypeModifier and TypeMethodDescriptiondefault String
DdlType.getTypeName
(Size columnSize, Type type, DdlTypeRegistry ddlTypeRegistry) Return a type with length, precision, and scale specified by the given size object. -
Uses of Type in org.hibernate.type.descriptor.sql.internal
Methods in org.hibernate.type.descriptor.sql.internal with parameters of type TypeModifier and TypeMethodDescriptionArrayDdlTypeImpl.getTypeName
(Size columnSize, Type type, DdlTypeRegistry ddlTypeRegistry) NamedNativeEnumDdlTypeImpl.getTypeName
(Size columnSize, Type type, DdlTypeRegistry ddlTypeRegistry) NamedNativeOrdinalEnumDdlTypeImpl.getTypeName
(Size columnSize, Type type, DdlTypeRegistry ddlTypeRegistry) NativeEnumDdlTypeImpl.getTypeName
(Size columnSize, Type type, DdlTypeRegistry ddlTypeRegistry) NativeOrdinalEnumDdlTypeImpl.getTypeName
(Size columnSize, Type type, DdlTypeRegistry ddlTypeRegistry) -
Uses of Type in org.hibernate.type.descriptor.sql.spi
Methods in org.hibernate.type.descriptor.sql.spi with parameters of type TypeModifier and TypeMethodDescriptionDdlTypeRegistry.getTypeName
(int typeCode, Size columnSize, Type type) Get the SQL type name for the specifiedJDBC type code
and size, filling in the placemarkers$l
,$p
, and$s
with the length, precision, and scale determined by the given size object. -
Uses of Type in org.hibernate.type.internal
Classes in org.hibernate.type.internal that implement TypeModifier and TypeClassDescriptionclass
class
class
class
Wrapper ofCustomMutabilityConvertedBasicTypeImpl
for primitive type.class
class
-
Uses of Type in org.hibernate.type.spi
Subinterfaces of Type in org.hibernate.type.spi
Interceptor.onRemove(Object, Object, Object[], String[], Type[])