Class GeneratedValuesProcessor
- java.lang.Object
-
- org.hibernate.metamodel.mapping.internal.GeneratedValuesProcessor
-
public class GeneratedValuesProcessor extends Object
Responsible for retrieving database-generated attribute values after aninsert
orupdate
statement is executed.Note that this class has responsibility for regular attributes of the entity. The primary key / id attribute is handled separately, being the responsibility of an instance of
InsertGeneratedIdentifierDelegate
.- See Also:
OnExecutionGenerator
-
-
Constructor Summary
Constructors Constructor Description GeneratedValuesProcessor(EntityMappingType entityDescriptor, EventType timing, SessionFactoryImplementor sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
processGeneratedValues(Object entity, Object id, Object[] state, SharedSessionContractImplementor session)
Obtain the generated values, and populate the snapshot and the fields of the entity instance.
-
-
-
Constructor Detail
-
GeneratedValuesProcessor
public GeneratedValuesProcessor(EntityMappingType entityDescriptor, EventType timing, SessionFactoryImplementor sessionFactory)
-
-
Method Detail
-
processGeneratedValues
public void processGeneratedValues(Object entity, Object id, Object[] state, SharedSessionContractImplementor session)
Obtain the generated values, and populate the snapshot and the fields of the entity instance.
-
-