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

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Thu Sep 13 02:35:14 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28082 ] 

Max Rydahl Andersen commented on HHH-2025:
------------------------------------------

please reread the comment from 24/Aug/06

Use something like Hibernate.isInitialized(o) to avoid the exception being thrown.



> Remove log from LazyInitializationException constructor
> -------------------------------------------------------
>
>                 Key: HHH-2025
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2025
>             Project: Hibernate3
>          Issue Type: Improvement
>          Components: core
>    Affects 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