public static class

Component.StandardGenerationContextLocator

extends Object
implements CompositeNestedGeneratedValueGenerator.GenerationContextLocator
java.lang.Object
   ↳ org.hibernate.mapping.Component.StandardGenerationContextLocator

Summary

Public Constructors
Component.StandardGenerationContextLocator(String entityName)
Public Methods
Serializable locateGenerationContext(SessionImplementor session, Object incomingObject)
Given the incoming object, determine the context for injecting back its generated id sub-values.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.hibernate.id.CompositeNestedGeneratedValueGenerator.GenerationContextLocator

Public Constructors

public Component.StandardGenerationContextLocator (String entityName)

Public Methods

public 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