Why does Hibernate attempt to load “not-found=ignore” associations?
问题 I've got a class (representing a project) which maps another class (representing a user) through a many-to-one relationship. As users come and go I've made sure to set the not-found property to ignore on the relationship. However, it appears that Hibernate still attempts to load the "missing" users by executing one extra SQL query for each of the projects where the not-found property should have set the relationship to null . That is, in cases where the associated user no long exist, I would