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

Feature request: Support for ignoring events by using annotation. #159

Closed natami closed 2 years ago

natami commented 2 years ago

Implement support for ignoring event warnings/errors using an annotation - something like @SuppressHypersistenceEvent(PaginationWithoutOrderByEvent.class).

Any thoughts on this? :)

vladmihalcea commented 2 years ago

You can easily do that with an EventFilter that you provide during configuration. Check out this User Guide section for more details.

I believe that a programmatic approach is far superior to any annotation.