public static interface

CompositeNestedGeneratedValueGenerator.GenerationContextLocator

org.hibernate.id.CompositeNestedGeneratedValueGenerator.GenerationContextLocator
Known Indirect Subclasses

Class Overview

Contract for declaring how to locate the context for sub-value injection.

Summary

Public Methods
abstract Serializable locateGenerationContext(SessionImplementor session, Object incomingObject)
Given the incoming object, determine the context for injecting back its generated id sub-values.

Public Methods

public abstract Serializable locateGenerationContext (SessionImplementor 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