Package org.hibernate.id.factory.spi
Interface GenerationTypeStrategy
- All Known Implementing Classes:
AutoGenerationTypeStrategy
,IdentityGenerationTypeStrategy
,SequenceGenerationTypeStrategy
,TableGenerationTypeStrategy
,UUIDGenerationTypeStrategy
public interface GenerationTypeStrategy
Delegate for defining how to handle the various types of
GenerationType
possibilities.- API Note:
- no GenerationType indicates
hbm.xml
mapping
-
Method Summary
Modifier and TypeMethodDescriptioncreateIdentifierGenerator
(GenerationType generationType, String generatorName, JavaType<?> javaType, Properties config, GeneratorDefinitionResolver definitionResolver, ServiceRegistry serviceRegistry)
-
Method Details
-
createIdentifierGenerator
IdentifierGenerator createIdentifierGenerator(GenerationType generationType, String generatorName, JavaType<?> javaType, Properties config, GeneratorDefinitionResolver definitionResolver, ServiceRegistry serviceRegistry)
-