i’m new to spring when i try to update just one field of an entity I noticed in logs that hibernate perform two queries, before update it does a SELECT of all fields. Is that ok? Why does Hibernate perform that SELECT? How can i update a field with just one UPDATE query? Additionally when I tried to update a single title in an entity that has another nested entity i end up with a bunch of SELECT. I think it’s not good for performance or I’m wrong?

```
Something s = somethingRepository.findById(id);
s.setField1(someData);
somethingRepository.save(s);

```

On the internet I found a solution to make custom query with @Modifying and @Query(“UPDATE …”) but in this way I need to make custom query for every single field. Is there a better solution?