[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2025) Remove log from LazyInitializationException constructor
Al W (JIRA)
noreply at atlassian.com
Wed Sep 12 18:02:14 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28079 ]
Al W commented on HHH-2025:
---------------------------
Please could the auto logging of LazyInitializationException be removed?
I have a detached object and some methods which process it. They do not care if the child elements have been loaded or not (In some situations they have been, in others they have not). I just want to catch and swallow LazyInitializationException in this case, but it appears all over my logs. aagghh
> 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