Uses of Interface
org.hibernate.id.IdentifierGenerator
Packages that use IdentifierGenerator
Package
Description
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.Enhanced/improved versions of table and sequence based identifier generators
targeting portability and unified configuration.
Implementation of the SPI for id generator factories.
Contains an SPI for id generator factories.
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 collections.
This package abstracts persistence mechanisms for entities.
Most contracts here have been replaced by the new runtime
mapping model.
-
Uses of IdentifierGenerator in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return IdentifierGeneratorModifier and TypeMethodDescriptionSessionFactoryDelegatingImpl.getIdentifierGenerator(String rootEntityName) SessionFactoryImplementor.getIdentifierGenerator(String rootEntityName) Deprecated. -
Uses of IdentifierGenerator in org.hibernate.envers.enhanced
Classes in org.hibernate.envers.enhanced that implement IdentifierGeneratorModifier and TypeClassDescriptionclassRevision number generator has to produce values in ascending order (gaps may occur). -
Uses of IdentifierGenerator in org.hibernate.id
Subinterfaces of IdentifierGenerator in org.hibernate.idModifier and TypeInterfaceDescriptioninterfaceCommonality between sequence-based and table-based generatorsinterfaceAnIdentifierGeneratorthat requires creation of database objects.Classes in org.hibernate.id that implement IdentifierGeneratorModifier and TypeClassDescriptionclassDeprecated.sinceUUIDHexGeneratoris deprecatedclassAnIdentifierGeneratorthat returns the current identifier assigned to an instance.classFor composite identifiers, defines a number of "nested" generations that need to happen to "fill" the identifier property(s).classDeprecated, for removal: This API element is subject to removal in a future version.This remains around as an implementation detail ofhbm.xmlmappings.classDeprecated.useUuidGeneratorclassAnIdentifierGeneratorthat returns along, constructed by counting from the maximum primary key value obtained by querying the table or tables at startup.classDeprecated.useUuidGeneratorandUuidGeneratorinsteadclassDeprecated.This remains around as an implementation detail ofhbm.xmlmappings. -
Uses of IdentifierGenerator in org.hibernate.id.enhanced
Classes in org.hibernate.id.enhanced that implement IdentifierGeneratorModifier and TypeClassDescriptionclassGenerates identifier values based on a sequence-style database structure.classAn enhanced version of table-based id generation. -
Uses of IdentifierGenerator in org.hibernate.id.factory.internal
Methods in org.hibernate.id.factory.internal that return IdentifierGeneratorModifier and TypeMethodDescriptionAutoGenerationTypeStrategy.createIdentifierGenerator(GenerationType generationType, String generatorName, JavaType<?> javaType, Properties config, GeneratorDefinitionResolver definitionResolver, ServiceRegistry serviceRegistry) IdentityGenerationTypeStrategy.createIdentifierGenerator(GenerationType generationType, String generatorName, JavaType<?> javaType, Properties config, GeneratorDefinitionResolver definitionResolver, ServiceRegistry serviceRegistry) SequenceGenerationTypeStrategy.createIdentifierGenerator(GenerationType generationType, String generatorName, JavaType<?> javaType, Properties config, GeneratorDefinitionResolver definitionResolver, ServiceRegistry serviceRegistry) StandardIdentifierGeneratorFactory.createIdentifierGenerator(GenerationType generationType, String generatedValueGeneratorName, String generatorName, JavaType<?> javaType, Properties config, GeneratorDefinitionResolver definitionResolver) TableGenerationTypeStrategy.createIdentifierGenerator(GenerationType generationType, String generatorName, JavaType<?> javaType, Properties config, GeneratorDefinitionResolver definitionResolver, ServiceRegistry serviceRegistry) UUIDGenerationTypeStrategy.createIdentifierGenerator(GenerationType generationType, String generatorName, JavaType<?> javaType, Properties config, GeneratorDefinitionResolver definitionResolver, ServiceRegistry serviceRegistry) -
Uses of IdentifierGenerator in org.hibernate.id.factory.spi
Methods in org.hibernate.id.factory.spi that return IdentifierGeneratorModifier and TypeMethodDescriptionGenerationTypeStrategy.createIdentifierGenerator(GenerationType generationType, String generatorName, JavaType<?> javaType, Properties config, GeneratorDefinitionResolver definitionResolver, ServiceRegistry serviceRegistry) -
Uses of IdentifierGenerator in org.hibernate.internal
Methods in org.hibernate.internal that return IdentifierGeneratorModifier and TypeMethodDescriptionSessionFactoryImpl.getIdentifierGenerator(String rootEntityName) Deprecated. -
Uses of IdentifierGenerator in org.hibernate.mapping
Methods in org.hibernate.mapping that return IdentifierGeneratorModifier and TypeMethodDescriptiondefault IdentifierGeneratorKeyValue.createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, String defaultCatalog, String defaultSchema, RootClass rootClass) Deprecated, for removal: This API element is subject to removal in a future version.default IdentifierGeneratorKeyValue.createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, RootClass rootClass) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of IdentifierGenerator in org.hibernate.persister.collection
Methods in org.hibernate.persister.collection that return IdentifierGeneratorModifier and TypeMethodDescriptionAbstractCollectionPersister.getIdentifierGenerator()Deprecated.CollectionPersister.getIdentifierGenerator()Deprecated. -
Uses of IdentifierGenerator in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity that return IdentifierGeneratorModifier and TypeMethodDescriptionAbstractEntityPersister.getIdentifierGenerator()Deprecated.EntityPersister.getIdentifierGenerator()Deprecated. -
Uses of IdentifierGenerator in org.hibernate.tuple
Methods in org.hibernate.tuple that return IdentifierGeneratorModifier and TypeMethodDescriptionIdentifierAttribute.getIdentifierGenerator()Deprecated.IdentifierProperty.getIdentifierGenerator()Deprecated, for removal: This API element is subject to removal in a future version.
SessionFactoryImplementor.getGenerator(String)