I am using standard Spring CrudRepository. When attempting to update a record, a new record is created instead even though the primary key is assigned a non-null value.