Package org.hibernate.generator.values
Interface GeneratedValues
-
- All Known Implementing Classes:
GeneratedValuesImpl
public interface GeneratedValues
A container for database generated values retrieved by the mutation operation. The values are stored relative to the property they represent.- See Also:
OnExecutionGenerator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addGeneratedValue(ModelPart modelPart, Object value)
Register a generated value for the correspondingModelPart
Object
getGeneratedValue(ModelPart modelPart)
Retrieve a generated value for the requestedModelPart
.List<Object>
getGeneratedValues(List<? extends ModelPart> modelParts)
Retrieves a list of generated values corresponding to the list of requestedModelPart
s.
-