Package org.hibernate.id
Interface CompositeNestedGeneratedValueGenerator.GenerationContextLocator
-
- All Known Implementing Classes:
Component.StandardGenerationContextLocator
- Enclosing class:
- CompositeNestedGeneratedValueGenerator
public static interface CompositeNestedGeneratedValueGenerator.GenerationContextLocator
Contract for declaring how to locate the context for sub-value injection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
locateGenerationContext(SharedSessionContractImplementor session, Object incomingObject)
Given the incoming object, determine the context for injecting back its generated id sub-values.
-
-
-
Method Detail
-
locateGenerationContext
Object locateGenerationContext(SharedSessionContractImplementor session, Object incomingObject)
Given the incoming object, determine the context for injecting back its generated id sub-values.- Parameters:
session
- The current sessionincomingObject
- The entity for which we are generating id- Returns:
- The injection context
-
-