HHH-8374: Treat an entity wrapped by hibernate proxy equals a raw entity
HHH-8374 test case