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 java.lang.Object implements CompositeNestedGeneratedValueGenerator.GenerationContextLocator
-
-
Constructor Summary
Constructors Constructor Description StandardGenerationContextLocator(java.lang.String entityName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.SerializablelocateGenerationContext(SharedSessionContractImplementor session, java.lang.Object incomingObject)Given the incoming object, determine the context for injecting back its generated id sub-values.
-
-
-
Method Detail
-
locateGenerationContext
public java.io.Serializable locateGenerationContext(SharedSessionContractImplementor session, java.lang.Object incomingObject)
Description copied from interface:CompositeNestedGeneratedValueGenerator.GenerationContextLocatorGiven the incoming object, determine the context for injecting back its generated id sub-values.- Specified by:
locateGenerationContextin interfaceCompositeNestedGeneratedValueGenerator.GenerationContextLocator- Parameters:
session- The current sessionincomingObject- The entity for which we are generating id- Returns:
- The injection context
-
-