Package org.hibernate.id
Interface CompositeNestedGeneratedValueGenerator.GenerationPlan
- All Known Implementing Classes:
Component.ValueGenerationPlan
- Enclosing class:
CompositeNestedGeneratedValueGenerator
public static interface CompositeNestedGeneratedValueGenerator.GenerationPlan
Contract for performing the actual sub-value generation, usually injecting it into the
determined
context-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(SessionImplementor session, Object incomingObject, Object injectionContext) Execute the value generation.voidregisterPersistentGenerators(Map generatorMap) Register any sub generators which implementPersistentIdentifierGeneratorby theirgeneratorKey.
-
Method Details
-
execute
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
-
registerPersistentGenerators
Register any sub generators which implementPersistentIdentifierGeneratorby theirgeneratorKey.- Parameters:
generatorMap- The map of generators.
-