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
Modifier and TypeMethodDescriptionexecute
(SharedSessionContractImplementor session, Object incomingObject) Execute the value generation.Returns theinjector
for the generated property.int
Returns the index of the generated property.void
initialize
(SqlStringGenerationContext context) Initializes this instance, in particular pre-generates SQL as necessary.Methods inherited from interface org.hibernate.boot.model.relational.ExportableProducer
registerExportables
-
Method Details
-
initialize
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
-
getInjector
Setter getInjector()- See Also:
-
getPropertyIndex
int getPropertyIndex()Returns the index of the generated property. Used when theCompositeType
is not mutable.- See Also:
-