Renew entities after db change.
Small fix in getArrayCopy.
Dont add required validations for id fields.