| When an Entity is passed with all null payload fields in a PUT REST resource, the entity is not marked as dirty, because the fields of the passed entity are compared with the (null) fields of a new entity. When the entity is merged into the context, I would expect the dirty marking to be performed between the passed entity and the entity from the persistence context (stored in the database), but no such thing occurs. Hence no update is scheduled for the entity and the database entity is unchanged. |
|