[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2971) AbstractFlushingEventListener catches, logs and re-throws HibernateException in performExecutions generating noisy logs

Greg Casbolt (JIRA) noreply at atlassian.com
Fri Feb 24 08:45:49 EST 2012


    [ https://hibernate.onjira.com/browse/HHH-2971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45670#comment-45670 ] 

Greg Casbolt commented on HHH-2971:
-----------------------------------

+1 for the suggested change. Our customers have noticed it too.

> AbstractFlushingEventListener catches, logs and re-throws HibernateException in performExecutions generating noisy logs
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: HHH-2971
>                 URL: https://hibernate.onjira.com/browse/HHH-2971
>             Project: Hibernate ORM
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.2.5
>         Environment: v3.2.5
>            Reporter: craig mcmillan
>            Assignee: Diego Plentz
>            Priority: Minor
>         Attachments: tags.v325.r14204.patch
>
>
> AbstractFlushingEventListener catches HibernateException, logs an error, and re-throws the same HibernateException... so the Exception gets logged twice, or worse [ in the case i'm looking at, an offline locker ], an expected Exception [ConstraingViolationException] is caught and discarded, but an error is still logged

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list