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
307 stars 43 forks source link

Trigger the EagerFetchingEvent when an entity attribute uses the @LazyCollection(LazyCollectionOption.FALSE) mapping #136

Closed vladmihalcea closed 3 years ago

vladmihalcea commented 3 years ago

If an entity association uses @LazyCollection(LazyCollectionOption.FALSE), the association is going to be fetched eagerly using a secondary query even when the entity is fetched directly.

vladmihalcea commented 3 years ago

Fixed.