[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2025) Remove log from LazyInitializationException constructor

Russell Healy (JIRA) noreply at atlassian.com
Thu Aug 24 19:14:24 EDT 2006


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2025?page=comments#action_24077 ] 

Russell Healy commented on HHH-2025:
------------------------------------

Another option may be to downgrade the log statement to a warn, rather than an error.

> Remove log from LazyInitializationException constructor
> -------------------------------------------------------
>
>          Key: HHH-2025
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2025
>      Project: Hibernate3
>         Type: Improvement

>   Components: core
>     Versions: 3.2.1
>  Environment: Any
>     Reporter: Russell Healy

>
>
> Remove log from LazyInitializationException constructor. The motivation is to enable recovery from a LazyInitializationException using around advice without issuing a logging an error.
> See: http://www.jroller.com/page/cenkcivici?entry=reattaching_lazy_objects_to_hibernate
> This has been asked for before [HB-1363], but is worth reconsidering. 

-- 
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