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