Cannot easily suppress warning "this operation breaks ==" from StatefulPersistenceContext

Description

In Hibernate 3, it was possible to suppress the warning "this operation breaks ==" given by StatefulPersistenceContext by setting the level of the "org.hibernate.engine.StatefulPersistentContext.ProxyWarnLog" logger to ERROR (see , lost in commit a9b1425f3f07021dae556e710b2bdfdc3812661b (4.0.0.Alpha1)).

Environment

Hibernate 5.0.7 (Wildfly 10), SQL Server 2008 R2

Assignee

Unassigned

Reporter

Dominique Toupin

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

Affirmative

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure