[hibernate-issues] [JIRA] (HHH-11480) Convert method of SqlExceptionHandler logs exception

Noel O'Shea (JIRA) jira at hibernate.atlassian.net
Tue Jul 28 04:00:38 EDT 2020


Noel O'Shea ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae8c2dd70-162e-4966-b99d-dbb8ade2c808 ) *commented* on HHH-11480 ( https://hibernate.atlassian.net/browse/HHH-11480?atlOrigin=eyJpIjoiNmQ2ODYzMjljZDFlNDdlODkzNTkyMzA1YTQyNzIzYmYiLCJwIjoiaiJ9 )

Re: Convert method of SqlExceptionHandler logs exception ( https://hibernate.atlassian.net/browse/HHH-11480?atlOrigin=eyJpIjoiNmQ2ODYzMjljZDFlNDdlODkzNTkyMzA1YTQyNzIzYmYiLCJwIjoiaiJ9 )

This is also causing us alot of problems. Our alerting is being triggered because errors are being written to the log file but we are handling the exception so the error log is for us totally unnecessary. The caller should decide themselves what they want to do with the exception or not and IMHO the 'message' should be part of the exception itself.

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

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#100140- sha1:454f3ac )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200728/de4d4e0c/attachment.html 


More information about the hibernate-issues mailing list