Determine newEntity based on all attributes...

...taking into account default values