Hi,
In the version 3.1 a bug HHH-1367 was opened and later fixed. (https://hibernate.atlassian.net/browse/HHH-1367)
The bug stated that StatefulPersistenceContext class emits a commons-logging warning about narrowing proxy and it was agreed that a better way to suppress this warning is needed. Following this realization a fix was introduced, which moved this warning to its own category: org.hibernate.engine.StatefulPersistentContext.ProxyWarnLog
In Hibernate 4.2.0 however, the specific category for this warning disappeared again and in order to suppress it you need to suppress the whole StatefulPersistentContext class.
I propose to whoever this concerns to reopen this bug and fix it again.
Thanks
|