|
There is a problem in the current snapshot of Hibernate where it is possible to end up in a situation where == no longer holds for objects pulled in a single get.
A = session.get(idOfA)
A ->(lazy) B A
>C
>(eager) B
This will produce a situation where B != B. The lazy B will be a Hibernate proxy, while the eager B will be a POJO.
|