[hibernate-issues] [JIRA] (HHH-13926) StaleStateException should (optionally) not leak statements in the logs

Sanne Grinovero (JIRA) jira at hibernate.atlassian.net
Wed Jul 8 13:09:13 EDT 2020


Sanne Grinovero ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A99e61e65-956b-4a21-b29c-06057642e9ea ) *commented* on HHH-13926 ( https://hibernate.atlassian.net/browse/HHH-13926?atlOrigin=eyJpIjoiODE2MDBjOWQ4NmFlNDJjOThiYTQ1NDNkNGQxMDc5MTciLCJwIjoiaiJ9 )

Re: StaleStateException should (optionally) not leak statements in the logs ( https://hibernate.atlassian.net/browse/HHH-13926?atlOrigin=eyJpIjoiODE2MDBjOWQ4NmFlNDJjOThiYTQ1NDNkNGQxMDc5MTciLCJwIjoiaiJ9 )

Hi Mickaël TRICOT ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A0d3f573f-438e-4be7-b5ec-528c5465e34b ) , I’m surprised by this request, as I’ve never seen anyone consider the SQL statements as sensitive? Could you give us a more concrete example of what worries you?

Personally I think that having the statement is an essential tool to diagnose these cases, as they are application errors that need to be fixed.

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

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#100133- sha1:abe90d4 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200708/e3bf9075/attachment.html 


More information about the hibernate-issues mailing list