This affects Hibernate ORM 6 and 5.6. This is only relevant with bytecode enhancement enabled to get [lazy basic properties](https://docs.jboss.org/hibernate/orm/current/userguide/html_single/Hibernate_User_Guide.html#BytecodeEnhancement-lazy-loading). Updating such lazy properties does not seem to work correctly:
- When properties are assigned to fetch groups, there is only one problem: setting a lazy property to null is ignored, the entity is not updated.
- When properties are not assigned to fetch groups:
- setting a lazy property to null is ignored, the entity is not updated.
- setting a lazy property to a non-null value is ignored, the entity is not updated.
- changing only a single lazy property on an entity that has only lazy properties will lead to an exception:
I will add a PR with a reproducer here. |