public static class Component.StandardGenerationContextLocator extends Object implements CompositeNestedGeneratedValueGenerator.GenerationContextLocator
Constructor and Description |
---|
StandardGenerationContextLocator(String entityName) |
Modifier and Type | Method and Description |
---|---|
Serializable |
locateGenerationContext(SharedSessionContractImplementor session,
Object incomingObject)
Given the incoming object, determine the context for injecting back its generated
id sub-values.
|
public StandardGenerationContextLocator(String entityName)
public Serializable locateGenerationContext(SharedSessionContractImplementor session, Object incomingObject)
CompositeNestedGeneratedValueGenerator.GenerationContextLocator
locateGenerationContext
in interface CompositeNestedGeneratedValueGenerator.GenerationContextLocator
session
- The current sessionincomingObject
- The entity for which we are generating idCopyright © 2021 JBoss by Red Hat. All rights reserved.