[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2085) org.hibernate.event.def.DefaultLoadEventListener logs exception at info level

Don Smith (JIRA) noreply at atlassian.com
Mon Sep 18 13:42:24 EDT 2006


org.hibernate.event.def.DefaultLoadEventListener logs exception at info level
-----------------------------------------------------------------------------

         Key: HHH-2085
         URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2085
     Project: Hibernate3
        Type: Bug

  Components: core  
    Versions: 3.2.0.cr2    
 Environment: Hibernate 3.2.0.cr2, MySQL 4.0.18
    Reporter: Don Smith
    Priority: Minor


Prior to schema generation, accessing a persistent object throws an exception, as expected. The org.hibernate.event.def.DefaultLoadEventListener logs the exception at the info level, which just adds noise to the application console, and prevents application exception handling (in my case it's valid if the table doesn't exist, so I just want to catch the exception and continue). This log statement should be removed, or moved to a debug or trace level, so it won't show up in normal execution.

Code, from line 94 of org.hibernate.event.def.DefaultLoadEventListener:

		catch(HibernateException e) {
			log.info("Error performing load command", e);
			throw e;
		}



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