org.hibernate.lazyinitialization exception
问题 org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: pojo.Person.address, no session or session was closed. I am getting this exception and I'm using Spring 3.0 and Hibernate 3.6. 回答1: It looks like you have an Entity called Person which has a lazily loaded mapped collection of Addresses? You have loaded the Person and the session it was loaded in has now been closed. After the session was closed you then attempted to access that collection of address