Value objects do not have identity. ORM needs identity to update the database.
How to trick ORM?
(Marking Id for value object as internal won\'t work bec
Personally I have the Id field in the value object - I treat it as another attribute of the value object (such as name, location etc).
It may not be true DDD but it works for me.