Package org.hibernate.boot.model
Interface IdGeneratorStrategyInterpreter
-
- All Known Implementing Classes:
IdGeneratorInterpreterImpl
@Deprecated(since="6.0") public interface IdGeneratorStrategyInterpreter
Deprecated.Strategy for interpreting identifier generator related information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceIdGeneratorStrategyInterpreter.GeneratorNameDeterminationContextDeprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringdetermineGeneratorName(jakarta.persistence.GenerationType generationType, IdGeneratorStrategyInterpreter.GeneratorNameDeterminationContext context)Deprecated.Determine the name of the generator which should be used based on the GenerationType, returningnullto indicate that this interpreter did not have a match and that any additional resolutions should be performed.voidinterpretSequenceGenerator(jakarta.persistence.SequenceGenerator sequenceGeneratorAnnotation, IdentifierGeneratorDefinition.Builder definitionBuilder)Deprecated.Extract the IdentifierGeneratorDefinition related to the given SequenceGenerator annotationvoidinterpretTableGenerator(jakarta.persistence.TableGenerator tableGeneratorAnnotation, IdentifierGeneratorDefinition.Builder definitionBuilder)Deprecated.Extract the IdentifierGeneratorDefinition related to the given TableGenerator annotation
-
-
-
Method Detail
-
determineGeneratorName
String determineGeneratorName(jakarta.persistence.GenerationType generationType, IdGeneratorStrategyInterpreter.GeneratorNameDeterminationContext context)
Deprecated.Determine the name of the generator which should be used based on the GenerationType, returningnullto indicate that this interpreter did not have a match and that any additional resolutions should be performed.- Parameters:
generationType- TheGeneratedValue.strategy()valuecontext- The context for resolution (method parameter object)- Returns:
- The
IdentifierGeneratorname (FQN, short name, etc)
-
interpretTableGenerator
void interpretTableGenerator(jakarta.persistence.TableGenerator tableGeneratorAnnotation, IdentifierGeneratorDefinition.Builder definitionBuilder)Deprecated.Extract the IdentifierGeneratorDefinition related to the given TableGenerator annotation- Parameters:
tableGeneratorAnnotation- The annotationdefinitionBuilder- The IdentifierGeneratorDefinition builder to which to apply any interpreted/extracted configuration
-
interpretSequenceGenerator
void interpretSequenceGenerator(jakarta.persistence.SequenceGenerator sequenceGeneratorAnnotation, IdentifierGeneratorDefinition.Builder definitionBuilder)Deprecated.Extract the IdentifierGeneratorDefinition related to the given SequenceGenerator annotation- Parameters:
sequenceGeneratorAnnotation- The annotationdefinitionBuilder- The IdentifierGeneratorDefinition builder to which to apply any interpreted/extracted configuration
-
-