程序包 org.hibernate.id

接口 CompositeNestedGeneratedValueGenerator.GenerationContextLocator

    • 方法详细资料

      • 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 session
        incomingObject - The entity for which we are generating id
        返回:
        The injection context