程序包 org.hibernate.id
接口 CompositeNestedGeneratedValueGenerator.GenerationContextLocator
-
public static interface CompositeNestedGeneratedValueGenerator.GenerationContextLocatorContract for declaring how to locate the context for sub-value injection.
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 SerializablelocateGenerationContext(SharedSessionContractImplementor session, Object incomingObject)Given the incoming object, determine the context for injecting back its generated id sub-values.
-
-
-
方法详细资料
-
locateGenerationContext
Serializable locateGenerationContext(SharedSessionContractImplementor session, Object incomingObject)
Given the incoming object, determine the context for injecting back its generated id sub-values.- 参数:
session- The current sessionincomingObject- The entity for which we are generating id- 返回:
- The injection context
-
-