[hibernate-issues] [JIRA] (HHH-12878) StaleStateException does not log out the stale object or the statement that was executed

Mickaël TRICOT (JIRA) jira at hibernate.atlassian.net
Fri Apr 3 10:46:32 EDT 2020


Mickaël TRICOT ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A0d3f573f-438e-4be7-b5ec-528c5465e34b ) *commented* on HHH-12878 ( https://hibernate.atlassian.net/browse/HHH-12878?atlOrigin=eyJpIjoiMjdmMTBjYjYxZTY4NDYwYzhhY2UzODQ1MzU3MjllZmIiLCJwIjoiaiJ9 )

Re: StaleStateException does not log out the stale object or the statement that was executed ( https://hibernate.atlassian.net/browse/HHH-12878?atlOrigin=eyJpIjoiMjdmMTBjYjYxZTY4NDYwYzhhY2UzODQ1MzU3MjllZmIiLCJwIjoiaiJ9 )

Hello, I have a problem with this (nice) improvement: some sensible data are leaking in my logs. Do you think that could be an option to add the statement conditionnaly, for instance only when hibernate.show_sql=true ? Thanks

( https://hibernate.atlassian.net/browse/HHH-12878#add-comment?atlOrigin=eyJpIjoiMjdmMTBjYjYxZTY4NDYwYzhhY2UzODQ1MzU3MjllZmIiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-12878#add-comment?atlOrigin=eyJpIjoiMjdmMTBjYjYxZTY4NDYwYzhhY2UzODQ1MzU3MjllZmIiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100124- sha1:7217f9f )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200403/c95203fa/attachment.html 


More information about the hibernate-issues mailing list