So I realize a Java EE web application (PrimeFaces, Spring, Hibernate) during advancement in programming, I found that all the association between class type Lazy does not always work ("error-type session was closed "..)
So I am forced to work with each fetch eager every time to elimenate this error. I think my work is not good
they told me that spring does not allow Lazy mode, and if I want to work with lazy fashion must add (listener or filter) in the web.xml. Is this true?
Can you give me an example using eager loading?