Class GeneratedValuesProcessor

java.lang.Object
org.hibernate.metamodel.mapping.internal.GeneratedValuesProcessor

@Incubating public class GeneratedValuesProcessor extends Object
Responsible for retrieving database-generated attribute values after an insert or update statement is executed.

The values might have been retrieved early by an instance of GeneratedValuesMutationDelegate, which case the generatedValues parameter of processGeneratedValues(java.lang.Object, java.lang.Object, java.lang.Object[], org.hibernate.generator.values.GeneratedValues, org.hibernate.engine.spi.SharedSessionContractImplementor) will already contain the values we need and this processor handles only the setting of entity attributes.

Note that the primary key / id attribute is always handled by the delegate.

See Also: