You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.
At the moment the preferred way is to use getters to access the contents.
This is suboptimal for JPA entities, because lazy loading might be triggered and a huge tree might be traversed.
To circumvent this the context logger could generally access the fields directly and prohibit getter calls for entites.
The text was updated successfully, but these errors were encountered:
tobiasstamann
changed the title
Detect and handle JPA Entities gently
Use direct field access instead of getter invocation f.e.to prevent lazy loading with JPA entities
Nov 4, 2015
tobiasstamann
pushed a commit
to tobiasstamann/contextlogger
that referenced
this issue
Nov 9, 2015
At the moment the preferred way is to use getters to access the contents.
This is suboptimal for JPA entities, because lazy loading might be triggered and a huge tree might be traversed.
To circumvent this the context logger could generally access the fields directly and prohibit getter calls for entites.
The text was updated successfully, but these errors were encountered: