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

QueryResultListSizeEvent contains the query result set in plaintext and with many data #147

Closed codingDriver closed 3 years ago

codingDriver commented 3 years ago

We got the QueryResultListSizeEvent on our test system. The problem with why we got the QueryResultListSizeEvent is a test data problem on our side.

But, the events should not contain the query result data in plain text. We are working with personal sensitive data. The information on the responsible query is very helpful.

The second problem is that in our test environment one event contains 40MB of data and kills the app.

vladmihalcea commented 3 years ago

That's a good point. At the moment, you can filter out the event using an EventFilter or the Event itself using a custom EventSender.

vladmihalcea commented 3 years ago

Fixed.