Package org.hibernate.mapping
Class Component.StandardGenerationContextLocator
- java.lang.Object
-
- org.hibernate.mapping.Component.StandardGenerationContextLocator
-
- All Implemented Interfaces:
CompositeNestedGeneratedValueGenerator.GenerationContextLocator
- Enclosing class:
- Component
public static class Component.StandardGenerationContextLocator extends Object implements CompositeNestedGeneratedValueGenerator.GenerationContextLocator
-
-
Constructor Summary
Constructors Constructor Description StandardGenerationContextLocator(String entityName)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
StandardGenerationContextLocator
public StandardGenerationContextLocator(String entityName)
-
-
Method Detail
-
locateGenerationContext
public Object locateGenerationContext(SharedSessionContractImplementor session, Object incomingObject)
Description copied from interface:CompositeNestedGeneratedValueGenerator.GenerationContextLocator
Given the incoming object, determine the context for injecting back its generated id sub-values.- Specified by:
locateGenerationContext
in interfaceCompositeNestedGeneratedValueGenerator.GenerationContextLocator
- Parameters:
session
- The current sessionincomingObject
- The entity for which we are generating id- Returns:
- The injection context
-
-