[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2025?page=c...
]
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_...
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira