|
Good catch, and thanks for looking into it!
Keep in mind that the Hibernate API (either Session or EntityManager) guarantees to return the same instance for an entity if it's being loaded multiple times: are you using projections?
Also could you please sign the contributor's agreement please: go to https://cla.jboss.org and pick the "Hibernate" project when it asks for the project name.
|