[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-3033) Allow for disabling the error message in LazyInitializationException

Steve Finch (JIRA) noreply at atlassian.com
Thu Dec 27 16:48:05 EST 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Finch updated HHH-3033:
-----------------------------

    Attachment: HHH-3033.patch

This patch simply checks "isErrorEnabled" before writing to the log.  This should avoid the overhead associated with stacktrace parsing.


> Allow for disabling the error message in LazyInitializationException
> --------------------------------------------------------------------
>
>                 Key: HHH-3033
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3033
>             Project: Hibernate3
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.2.5
>         Environment: 3.2.5, any
>            Reporter: Steve Finch
>            Priority: Minor
>         Attachments: HHH-3033.patch
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> LazyInitializationException always logs the stack trace, which is overhead.  Some frameworks have been written to handle this exception, so it is important to be able to disable the overhead of the error message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list