public static class Component.StandardGenerationContextLocator extends Object implements CompositeNestedGeneratedValueGenerator.GenerationContextLocator
| Constructor and Description |
|---|
StandardGenerationContextLocator(String entityName) |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
locateGenerationContext(SessionImplementor 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(SessionImplementor session, Object incomingObject)
CompositeNestedGeneratedValueGenerator.GenerationContextLocatorlocateGenerationContext in interface CompositeNestedGeneratedValueGenerator.GenerationContextLocatorsession - The current sessionincomingObject - The entity for which we are generating idCopyright © 2017 JBoss by Red Hat. All rights reserved.