Interface CompositeNestedGeneratedValueGenerator.GenerationContextLocator

    • Method Detail

      • locateGenerationContext

        Object locateGenerationContext​(SharedSessionContractImplementor session,
                                       Object incomingObject)
        Given the incoming object, determine the context for injecting back its generated id sub-values.
        Parameters:
        session - The current session
        incomingObject - The entity for which we are generating id
        Returns:
        The injection context