Since Wildfly sets the hibernate.jpa.compliance.proxy property to true by default, all it takes to trigger this bug in Wildfly is setting the log level of the "org.hibernate", or the root logger to debug.