From: Bryan Y. (JIRA) <no...@at...> - 2006-07-08 01:09:06
|
Logging uses getClass() rather than hard coded class ---------------------------------------------------- Key: HHH-1888 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1888 Project: Hibernate3 Type: Bug Versions: 3.0.1 Reporter: Bryan Young NullableType logs against getClass() rather than NullableType.class. This is undoubtably a miss-guided effort to stop copy/paste errors, but it means that NullableType logging will be turned on or off based on the subclasses package rather than the Hibernate package. In our case, we subclassed StringType to change how char values are loaded from our database. Turning on logging for our application also enables a lot of unwanted logging from within Hibernate. Our subclass might be in the package com.mycompany.hibernate.extentions. Turning debug logging on for only our code (com.mycompany) will also log debug information within NullableType. -- 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 |