org.hibernate.mapping
Class Component.StandardGenerationContextLocator
java.lang.Object
   org.hibernate.mapping.Component.StandardGenerationContextLocator
org.hibernate.mapping.Component.StandardGenerationContextLocator
- All Implemented Interfaces: 
- CompositeNestedGeneratedValueGenerator.GenerationContextLocator
- Enclosing class:
- Component
- public static class Component.StandardGenerationContextLocator 
- extends Object- implements CompositeNestedGeneratedValueGenerator.GenerationContextLocator
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Component.StandardGenerationContextLocator
public Component.StandardGenerationContextLocator(String entityName)
locateGenerationContext
public Serializable locateGenerationContext(SessionImplementor session,
                                            Object incomingObject)
- Description copied from interface: CompositeNestedGeneratedValueGenerator.GenerationContextLocator
- Given the incoming object, determine the context for injecting back its generated
 id sub-values.
 
- 
- Specified by:
- locateGenerationContextin interface- CompositeNestedGeneratedValueGenerator.GenerationContextLocator
 
- 
- Parameters:
- session- The current session
- incomingObject- The entity for which we are generating id
- Returns:
- The injection context
 
Copyright © 2001-2010 Red Hat, Inc.  All Rights Reserved.