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