When loading an entity twice using findOne()
two different objects with the same values are returned.
I would have expected that an object identity is preserved using an Identity map.
Is there any reason why this is not the case or is there an way to influence that?
Btw, I'm using Spring JPA repositiories with eclipselink, but I have seen the same with hibernate.