Alter in GenerateValue from entity