Package org.hibernate.id
Interface CompositeNestedGeneratedValueGenerator.GenerationPlan
-
- All Superinterfaces:
ExportableProducer
- All Known Implementing Classes:
Component.ValueGenerationPlan
- Enclosing class:
- CompositeNestedGeneratedValueGenerator
public static interface CompositeNestedGeneratedValueGenerator.GenerationPlan extends ExportableProducer
Contract for performing the actual sub-value generation, usually injecting it into the determined context
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute(SharedSessionContractImplementor session, Object incomingObject, Object injectionContext)Execute the value generation.voidinitialize(SqlStringGenerationContext context)Initializes this instance, in particular pre-generates SQL as necessary.-
Methods inherited from interface org.hibernate.boot.model.relational.ExportableProducer
registerExportables
-
-
-
-
Method Detail
-
initialize
void initialize(SqlStringGenerationContext context)
Initializes this instance, in particular pre-generates SQL as necessary.This method is called after
ExportableProducer.registerExportables(Database), before first use.- Parameters:
context- A context to help generate SQL strings
-
execute
void execute(SharedSessionContractImplementor session, Object incomingObject, Object injectionContext)
Execute the value generation.- Parameters:
session- The current sessionincomingObject- The entity for which we are generating idinjectionContext- The context into which the generated value can be injected
-
-