Uses of Interface
org.hibernate.type.Type
-
Packages that use Type 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 ofSessionandStatelessSession, the most important APIs exposing persistence-related operations for entities.org.hibernate.boot.spi A range of SPIs allowing integration with—and customization of—the process of building metadata.org.hibernate.bytecode.enhance.spi.interceptor Support for bytecode interceptor implementations.org.hibernate.collection.spi This package defines the SPI of a framework for lazy-initializing and state-tracking collection wrappers.org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.org.hibernate.id This package and its subpackages, especiallyorg.hibernate.id.enhanced, contain the built-in id generators, all of which implement eitherIdentifierGeneratororPostInsertIdentifierGenerator.org.hibernate.id.enhanced Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified configuration.org.hibernate.id.factory Defines a service for creating id generators.org.hibernate.mapping This package defines the Hibernate configuration-time mapping model.org.hibernate.metadata This package defines an API for accessing details about model mapping.org.hibernate.metamodel.mapping Defines the runtime mapping metamodel, which describes the mapping of the application's domain model parts (entities, attributes) to relational database objects (tables, columns).org.hibernate.persister.collection This package abstracts persistence mechanisms for collections.org.hibernate.persister.entity This package abstracts persistence mechanisms for entities.org.hibernate.pretty Contains some functions for pretty-printing things for exception and log messages.org.hibernate.query.spi Contains a range of internal abstractions for dealing with query execution, query plans, query options, and query parameters.org.hibernate.tuple Most contracts here have been replaced by the new runtime mapping model.org.hibernate.tuple.entity org.hibernate.type A HibernateTypeis a strategy for mapping a Java property type to a JDBC type or types.org.hibernate.type.descriptor.sql An API for working with abstract families of DDL types parameterized by varying length, precision, and scale.org.hibernate.type.descriptor.sql.spi Defines a registry forDdlTypes.org.hibernate.type.spi Defines a registry for HibernateTypes. -
-
Uses of Type in org.hibernate
Methods in org.hibernate that return Type Modifier and Type Method Description TypeCustomEntityDirtinessStrategy.AttributeInformation. getType()Get the mapping type of this attribute.Methods in org.hibernate with parameters of type Type Modifier and Type Method Description default int[]Interceptor. findDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, Type[] types)default int[]Interceptor. findDirty(Object entity, Object id, Object[] currentState, Object[] previousState, String[] propertyNames, Type[] types)Called fromflush().default voidInterceptor. onDelete(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)Deprecated.default voidInterceptor. onDelete(Object entity, Object id, Object[] state, String[] propertyNames, Type[] types)Called before an object is deleted.default booleanInterceptor. onFlushDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, Type[] types)default booleanInterceptor. 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 booleanInterceptor. onLoad(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)Deprecated.default booleanInterceptor. onLoad(Object entity, Object id, Object[] state, String[] propertyNames, Type[] types)Called just before an object is initialized.default booleanInterceptor. onSave(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)Deprecated.default booleanInterceptor. onSave(Object entity, Object id, Object[] state, String[] propertyNames, Type[] types)Called before an object is saved. -
Uses of Type in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi that return Type Modifier and Type Method Description TypeAbstractDelegatingMetadata. getIdentifierType(String className)TypeAbstractDelegatingMetadata. 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 Modifier and Type Method Description TypeLazyAttributeDescriptor. getType()Access to the attribute's type -
Uses of Type in org.hibernate.collection.spi
Methods in org.hibernate.collection.spi with parameters of type Type Modifier and Type Method Description protected EAbstractPersistentCollection.AbstractValueDelayedOperation. getReplacement(Type type, Object current, Map<Object,Object> copyCache)booleanPersistentArrayHolder. needsInserting(Object entry, int i, Type elemType)booleanPersistentBag. needsInserting(Object entry, int i, Type elemType)booleanPersistentCollection. needsInserting(Object entry, int i, Type elemType)Do we need to insert this element?booleanPersistentIdentifierBag. needsInserting(Object entry, int i, Type elemType)booleanPersistentList. needsInserting(Object entry, int i, Type elemType)booleanPersistentMap. needsInserting(Object entry, int i, Type elemType)booleanPersistentSet. needsInserting(Object entry, int i, Type elemType)booleanPersistentArrayHolder. needsUpdating(Object entry, int i, Type elemType)booleanPersistentBag. needsUpdating(Object entry, int i, Type elemType)booleanPersistentCollection. needsUpdating(Object entry, int i, Type elemType)Do we need to update this element?booleanPersistentIdentifierBag. needsUpdating(Object entry, int i, Type elemType)booleanPersistentList. needsUpdating(Object entry, int i, Type elemType)booleanPersistentMap. needsUpdating(Object entry, int i, Type elemType)booleanPersistentSet. needsUpdating(Object entry, int i, Type elemType) -
Uses of Type in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return Type Modifier and Type Method Description TypeMapping. getIdentifierType(String className)Deprecated.TypeSessionFactoryDelegatingImpl. getIdentifierType(String className)TypeMapping. getReferencedPropertyType(String className, String propertyName)Deprecated.TypeSessionFactoryDelegatingImpl. getReferencedPropertyType(String className, String propertyName)TypeTypedValue. getType()Methods in org.hibernate.engine.spi with parameters of type Type Modifier and Type Method Description voidCascadingAction. noCascade(EventSource session, Object parent, EntityPersister persister, Type propertyType, int propertyIndex)Called (in the case ofCascadingAction.requiresNoCascadeChecking()returning true) to validate that no cascade on the given property is considered a valid semantic.voidCascadingActions.BaseCascadingAction. noCascade(EventSource session, Object parent, EntityPersister persister, Type propertyType, int propertyIndex)Constructors in org.hibernate.engine.spi with parameters of type Type Constructor Description EntityUniqueKey(String entityName, String uniqueKeyName, Object key, Type keyType, SessionFactoryImplementor factory)TypedValue(Type type, Object value) -
Uses of Type in org.hibernate.id
Methods in org.hibernate.id that return Type Modifier and Type Method Description TypeExportableColumn.ValueImpl. getType()Methods in org.hibernate.id with parameters of type Type Modifier and Type Method Description voidAssigned. configure(Type type, Properties parameters, 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 parameters, ServiceRegistry serviceRegistry)Deprecated, for removal: This API element is subject to removal in a future version.default voidIdentifierGenerator. configure(Type type, Properties parameters, ServiceRegistry serviceRegistry)Configure this instance, given the value of parameters specified by the user as<param>elements.voidIncrementGenerator. configure(Type type, Properties parameters, ServiceRegistry serviceRegistry)default voidPostInsertIdentifierGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)Noop default implementation.voidSelectGenerator. configure(Type type, Properties parameters, ServiceRegistry serviceRegistry)voidUUIDGenerator. configure(Type type, Properties parameters, ServiceRegistry serviceRegistry)Deprecated.voidUUIDHexGenerator. configure(Type type, Properties parameters, ServiceRegistry serviceRegistry)Deprecated. -
Uses of Type in org.hibernate.id.enhanced
Methods in org.hibernate.id.enhanced that return Type Modifier and Type Method Description TypeSequenceStyleGenerator. getIdentifierType()Getter for property 'identifierType'.TypeTableGenerator. getIdentifierType()Type mapping for the identifier.Methods in org.hibernate.id.enhanced with parameters of type Type Modifier and Type Method Description protected DatabaseStructureSequenceStyleGenerator. buildDatabaseStructure(Type type, Properties params, JdbcEnvironment jdbcEnvironment, boolean forceTableUse, QualifiedName sequenceName, int initialValue, int incrementSize)Build the database structure.protected DatabaseStructureSequenceStyleGenerator. buildSequenceStructure(Type type, Properties params, JdbcEnvironment jdbcEnvironment, QualifiedName sequenceName, int initialValue, int incrementSize)protected DatabaseStructureSequenceStyleGenerator. buildTableStructure(Type type, Properties params, JdbcEnvironment jdbcEnvironment, QualifiedName sequenceName, int initialValue, int incrementSize)voidSequenceStyleGenerator. configure(Type type, Properties parameters, ServiceRegistry serviceRegistry)voidTableGenerator. configure(Type type, Properties parameters, ServiceRegistry serviceRegistry) -
Uses of Type in org.hibernate.id.factory
Methods in org.hibernate.id.factory with parameters of type Type Modifier and Type Method Description GeneratorIdentifierGeneratorFactory. createIdentifierGenerator(String strategy, Type type, Properties parameters) -
Uses of Type in org.hibernate.mapping
Methods in org.hibernate.mapping that return Type Modifier and Type Method Description TypeAny.KeyValue. getType()TypeAny.MetaValue. getType()TypeBasicValue. getType()TypeCollection. getType()TypeDependantValue. getType()TypeManyToOne. getType()TypeOneToMany. getType()TypeOneToOne. getType()TypeProperty. getType()TypeValue. getType()Methods in org.hibernate.mapping with parameters of type Type Modifier and Type Method Description static AnyTypeMappingHelper. anyMapping(Type metaType, Type identifierType, Map<Object,String> metaValueToEntityNameMap, boolean lazy, MetadataBuildingContext buildingContext) -
Uses of Type in org.hibernate.metadata
Methods in org.hibernate.metadata that return Type Modifier and Type Method Description TypeCollectionMetadata. getElementType()Deprecated.The collection element typeTypeClassMetadata. getIdentifierType()Deprecated.Get the identifier Hibernate typeTypeCollectionMetadata. getIndexType()Deprecated.The collection index type (or null if the collection has no index)TypeCollectionMetadata. getKeyType()Deprecated.The collection key typeTypeClassMetadata. getPropertyType(String propertyName)Deprecated.Get the type of a particular (named) propertyType[]ClassMetadata. getPropertyTypes()Deprecated.Get the Hibernate types of the class properties -
Uses of Type in org.hibernate.metamodel.mapping
Subinterfaces of Type in org.hibernate.metamodel.mapping Modifier and Type Interface Description interfaceDiscriminatorType<O>Union ofConvertedBasicTypeandBasicDomainTypecapabilities. -
Uses of Type in org.hibernate.persister.collection
Fields in org.hibernate.persister.collection declared as Type Modifier and Type Field Description protected TypeAbstractCollectionPersister. elementTypeDeprecated.Methods in org.hibernate.persister.collection that return Type Modifier and Type Method Description TypeAbstractCollectionPersister. getElementType()TypeCollectionPersister. getElementType()Deprecated, for removal: This API element is subject to removal in a future version.Hibernate is moving away fromType.TypeAbstractCollectionPersister. getIdentifierType()TypeCollectionPersister. getIdentifierType()Deprecated, for removal: This API element is subject to removal in a future version.Hibernate is moving away fromType.TypeAbstractCollectionPersister. getIndexType()TypeCollectionPersister. getIndexType()Deprecated, for removal: This API element is subject to removal in a future version.Hibernate is moving away fromType.TypeAbstractCollectionPersister. getKeyType()TypeCollectionPersister. getKeyType()Deprecated, for removal: This API element is subject to removal in a future version.Hibernate is moving away fromType.TypeCompositeElementPropertyMapping. getType()Deprecated, for removal: This API element is subject to removal in a future version.TypeElementPropertyMapping. getType()Deprecated, for removal: This API element is subject to removal in a future version.TypeAbstractCollectionPersister. toType(String propertyName)TypeElementPropertyMapping. toType(String propertyName)Deprecated, for removal: This API element is subject to removal in a future version.Constructors in org.hibernate.persister.collection with parameters of type Type Constructor Description ElementPropertyMapping(String[] elementColumns, Type type)Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Type in org.hibernate.persister.entity
Classes in org.hibernate.persister.entity that implement Type Modifier and Type Class Description classDiscriminatorType<T>Deprecated, for removal: This API element is subject to removal in a future version.The functionality of DiscriminatorType,DiscriminatorMetadataandMetaTypehave been consolidated intoEntityDiscriminatorMappingandDiscriminatorConverterMethods in org.hibernate.persister.entity that return Type Modifier and Type Method Description TypeLoadable. getDiscriminatorType()Deprecated, for removal: This API element is subject to removal in a future version.Get the discriminator typeTypeAbstractEntityPersister. getIdentifierType()TypeEntityPersister. getIdentifierType()Get the identifier typeTypeAbstractEntityPersister. getPropertyType(String propertyName)Deprecated.by the supertypesTypeEntityPersister. getPropertyType(String propertyName)Deprecated, for removal: This API element is subject to removal in a future version.TypeUniqueKeyEntry. getPropertyType()Type[]AbstractEntityPersister. getPropertyTypes()Type[]EntityPersister. getPropertyTypes()Get the Hibernate types of the class propertiesTypeDiscriminatorMetadata. 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.TypeAbstractEntityPersister. getSubclassPropertyType(int i)TypeOuterJoinLoadable. getSubclassPropertyType(int i)Deprecated, for removal: This API element is subject to removal in a future version.Get the type of the numbered property of the class or a subclass.protected Type[]AbstractEntityPersister. getSubclassPropertyTypeClosure()TypeAbstractEntityPersister. getType()TypeSQLLoadable. getType()Deprecated, for removal: This API element is subject to removal in a future version.Get the typeTypeAbstractEntityPersister. toType(String propertyName)Given a component path expression, get the type of the propertyTypeAbstractPropertyMapping. toType(String propertyName)Deprecated, for removal: This API element is subject to removal in a future version.TypePropertyMapping. toType(String propertyName)Deprecated, for removal: This API element is subject to removal in a future version.Given a component path expression, get the type of the propertyMethods in org.hibernate.persister.entity with parameters of type Type Modifier and Type Method Description protected voidAbstractPropertyMapping. addPropertyPath(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 voidAbstractPropertyMapping. 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.Constructors in org.hibernate.persister.entity with parameters of type Type Constructor Description UniqueKeyEntry(String uniqueKeyName, int stateArrayPosition, Type propertyType) -
Uses of Type in org.hibernate.pretty
Methods in org.hibernate.pretty with parameters of type Type Modifier and Type Method Description static StringMessageHelper. 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.query.spi
Methods in org.hibernate.query.spi that return Type Modifier and Type Method Description TypeQueryParameterListBinding. getBindType()Get the Type currently associated with this binding. -
Uses of Type in org.hibernate.tuple
Methods in org.hibernate.tuple that return Type Modifier and Type Method Description TypeAbstractAttribute. getType()Deprecated, for removal: This API element is subject to removal in a future version.TypeAttribute. getType()Deprecated, for removal: This API element is subject to removal in a future version.Constructors in org.hibernate.tuple with parameters of type Type Constructor Description AbstractAttribute(String attributeName, Type attributeType)Deprecated, for removal: This API element is subject to removal in a future version.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 Type Modifier and Type Method Description 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 Type Constructor Description 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.type Modifier and Type Interface Description interfaceAdjustableBasicType<J>Extension contract forBasicTypeimplementations which understand how to adjust themselves relative to where/how they're used by, for example, accounting for LOB, nationalized, primitive/wrapper, etc.interfaceAssociationTypeA type that represents some kind of association between entities.interfaceBasicPluralType<C,E>A basic plural type.interfaceBasicType<T>Marker interface for basic types.interfaceCompositeTypeRepresents a composite type, a type which itself has typed attributes.interfaceConvertedBasicType<J>Extension for implementations ofBasicTypewhich have an implied conversion.Classes in org.hibernate.type that implement Type Modifier and Type Class Description classAbstractSingleColumnStandardBasicType<T>TODO : javadocclassAbstractStandardBasicType<T>Convenience base class forBasicTypeimplementations.classAbstractTypeAbstract superclass of the built-inTypehierarchy.classAnyTypeHandles "any" mappingsclassArrayTypeA type for persistent arrays.classBagTypeclassBasicArrayType<T,E>A type that maps betweenARRAYandT[]classBasicCollectionType<C extends Collection<E>,E>A type that maps betweenARRAYandCollection<T>classBottomTypeA type that is assignable to every non-primitive type, that is, the type ofnull.classCollectionTypeA type that handles HibernatePersistentCollections (including arrays).classComponentTypeHandles embedded mappings.classConvertedBasicArrayType<T,S,E>Given aBasicValueConverterfor an array type,classConvertedBasicCollectionType<C extends Collection<E>,E>A converted basic array type.classCustomCollectionTypeA custom type for mapping user-written classes that implementPersistentCollectionclassCustomType<J>classEmbeddedComponentTypeclassEntityTypeBase for types which map associations to persistent entities.classIdentifierBagTypeclassJavaObjectTypeclassListTypeclassManyToOneTypeA many-to-one association to an entity.classMapTypeclassMetaTypeDeprecated, for removal: This API element is subject to removal in a future version.The functionality of MetaType,DiscriminatorTypeandDiscriminatorMetadatahave been consolidated intoEntityDiscriminatorMappingandDiscriminatorConverterclassNullTypeclassOneToOneTypeA one-to-one association to an entityclassOrderedMapTypeA specialization of the map type, with (resultset-based) ordering.classOrderedSetTypeA specialization of the set type, with (resultset-based) ordering.classSerializableToBlobType<T extends Serializable>classSerializableType<T extends Serializable>A type that maps between aVARBINARYandSerializableclasses.classSetTypeclassSortedMapTypeclassSortedSetTypeclassSpecialOneToOneTypeA one-to-one association that maps to specific formula(s) instead of the primary key column of the owning entity.classStandardBasicTypeTemplate<J>A BasicType adapter targeting partial portability to 6.0's type system changes.classUserComponentType<T>HandlesCompositeUserTypes.Methods in org.hibernate.type that return Type Modifier and Type Method Description TypeMetaType. getBaseType()Deprecated, for removal: This API element is subject to removal in a future version.TypeAnyType. getDiscriminatorType()TypeCollectionType. getElementType(SessionFactoryImplementor factory)Get the Hibernate type of the collection elementsTypeEntityType. 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.TypeAnyType. getIdentifierType()Type[]AnyType. getSubtypes()Type[]ComponentType. getSubtypes()Type[]CompositeType. getSubtypes()Get the types of the component propertiesprotected TypeEntityType. requireIdentifierOrUniqueKeyType(Mapping mapping)Constructors in org.hibernate.type with parameters of type Type Constructor Description AnyType(TypeConfiguration typeConfiguration, Type discriminatorType, Type identifierType, boolean lazy)MetaType(Map<Object,String> discriminatorValuesToEntityNameMap, Type baseType)Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Type in org.hibernate.type.descriptor.sql
Methods in org.hibernate.type.descriptor.sql with parameters of type Type Modifier and Type Method Description default StringDdlType. 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.spi
Methods in org.hibernate.type.descriptor.sql.spi with parameters of type Type Modifier and Type Method Description StringDdlTypeRegistry. getTypeName(int typeCode, Size columnSize, Type type)Get the SQL type name for the specifiedJDBC type codeand size, filling in the placemarkers$l,$p, and$swith the length, precision, and scale determined by the given size object. -
Uses of Type in org.hibernate.type.spi
Subinterfaces of Type in org.hibernate.type.spi Modifier and Type Interface Description interfaceCompositeTypeImplementor
-