类 Component.StandardGenerationContextLocator
- java.lang.Object
-
- org.hibernate.mapping.Component.StandardGenerationContextLocator
-
- 封闭类:
- Component
public static class Component.StandardGenerationContextLocator extends Object implements CompositeNestedGeneratedValueGenerator.GenerationContextLocator
-
-
构造器概要
构造器 构造器 说明 StandardGenerationContextLocator(String entityName)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 SerializablelocateGenerationContext(SharedSessionContractImplementor session, Object incomingObject)Given the incoming object, determine the context for injecting back its generated id sub-values.
-
-
-
构造器详细资料
-
StandardGenerationContextLocator
public StandardGenerationContextLocator(String entityName)
-
-
方法详细资料
-
locateGenerationContext
public Serializable locateGenerationContext(SharedSessionContractImplementor session, Object incomingObject)
Given the incoming object, determine the context for injecting back its generated id sub-values.- 指定者:
locateGenerationContext在接口中CompositeNestedGeneratedValueGenerator.GenerationContextLocator- 参数:
session- The current sessionincomingObject- The entity for which we are generating id- 返回:
- The injection context
-
-