Weird Hibernate Bug: EntityManager.contains() returns false after find()
The first four (of six) sections of code/output below show the normal, expected, “good” case. I have a view, an entity definition, code to find the entity twice and check if it is contained, and the output which shows that it is only retrieved once and is indeed contained.