vladmihalcea / hypersistence-optimizer

Hypersistence Optimizer allows you to get the most out of JPA and Hibernate. By scanning your application configuration and mappings, Hypersistence Optimizer can tell you what changes you need to do to speed up your data access layer.
https://vladmihalcea.com/hypersistence-optimizer/
Apache License 2.0
306 stars 43 forks source link

Prevent the OneToOneParentSideEvent from triggering from Hibernate 5.5 onwards #160

Closed vladmihalcea closed 2 years ago

vladmihalcea commented 2 years ago

As explained by this Jira comment, from Hibernate 5.5 onwards, it's no longer necessary to annotate the parent-side OneToOne association with @LazyToOne(LazyToOneOption.NO_PROXY when having the Bytecode Enhancement lazy loading.

vladmihalcea commented 2 years ago

Fixed.