I'm using patchEntity() to update hasMany associations and it works fine. My problem is not related to the data that is saved in the DB. My problem is that the association data stored in the entity variable goes out of sync... to update hasMany assoc