[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:37:19 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=eyJpIjoiODIxYzAyNDM0YTZmNGZkZjgzODY3YmM3OTRkZWNmMTAiLCJwIjoiaiJ9 )

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

I might have commented too fast. I suppose you see the SQL parameters logged as well? Which JDBC driver are you using?

Would it be fine for you if we patched the code to log the SQL statement while avoiding the parameter values?

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

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/6d06d9a9/attachment.html 


More information about the hibernate-issues mailing list