From: Max R. A. (JIRA) <no...@at...> - 2006-07-24 13:40:14
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1934?page=comments#action_23734 ] Max Rydahl Andersen commented on HHH-1934: ------------------------------------------ there is also the issue of us logging and then throwing which we should also avoid. Furthermore in 99% of the cases the class and (definitly the) id will be exactly the same and thus this line is only relevant if they are actually different. And I would say that should actually never be able to happen....(they could of course be one subclass or the other, but its still very rare) I'm not keen on adding that since i haven't seen it being an issue that isn't quicker/better solved with a debugger. > logging NonUniqueObjectException and WrongClassException > -------------------------------------------------------- > > Key: HHH-1934 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1934 > Project: Hibernate3 > Type: Improvement > Components: core > Reporter: Holger Haag > Priority: Trivial > Fix For: 3.2.0.ga > Attachments: hb.patch > > > Added some logging information which make it easier to track down NonUniqueObjectException and WrongClassException exceptions. -- 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 |