Top Description Inners Fields Constructors Methods
org.hibernate.boot.internal

public Class GenerationStrategyInterpreter

extends Object
Class Inheritance
Imports
java.util.UUID, org.hibernate.boot.model.IdentifierGeneratorDefinition, org.hibernate.id.IncrementGenerator, .PersistentIdentifierGenerator, .UUIDGenerator, org.hibernate.id.enhanced.SequenceStyleGenerator, org.hibernate.internal.CoreLogging, .CoreMessageLogger, jakarta.persistence.GeneratedValue, .GenerationType, .SequenceGenerator, .TableGenerator

Interpretations related to value generators based on the strategy/type
Author
Steve Ebersole

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface

Field Summary

Modifier and TypeField and Description
private static final CoreMessageLogger
public static final GenerationStrategyInterpreter

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public String
public void
public void
interpretTableGenerator(TableGenerator tableGeneratorAnnotation, IdentifierGeneratorDefinition.Builder definitionBuilder)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LOGback to summary
private static final CoreMessageLogger LOG
STRATEGY_INTERPRETERback to summary
public static final GenerationStrategyInterpreter STRATEGY_INTERPRETER

Constructor Detail

GenerationStrategyInterpreterback to summary
private GenerationStrategyInterpreter()

Method Detail

determineGeneratorNameback to summary
public String determineGeneratorName(GenerationType generationType, GenerationStrategyInterpreter.GeneratorNameDeterminationContext context)
interpretSequenceGeneratorback to summary
public void interpretSequenceGenerator(SequenceGenerator sequenceGeneratorAnnotation, IdentifierGeneratorDefinition.Builder definitionBuilder)
interpretTableGeneratorback to summary
public void interpretTableGenerator(TableGenerator tableGeneratorAnnotation, IdentifierGeneratorDefinition.Builder definitionBuilder)
org.hibernate.boot.internal back to summary

public Interface GenerationStrategyInterpreter.GeneratorNameDeterminationContext


Method Summary

Modifier and TypeMethod and Description
public String
public Class<?>
getIdType()

The Java type of the attribute defining the id whose value is to be generated.

Method Detail

getGeneratedValueGeneratorNameback to summary
public String getGeneratedValueGeneratorName()

The GeneratedValue#generator() name.

getIdTypeback to summary
public Class<?> getIdType()

The Java type of the attribute defining the id whose value is to be generated.