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.GenerationContextLocatorlocateGenerationContext in interface CompositeNestedGeneratedValueGenerator.GenerationContextLocatorsession - The current sessionincomingObject - The entity for which we are generating idCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.