1. MySQL SQL_NO_CACHE with HibernateTemplate.load(...) forum.hibernate.org |
2. Lazy Loading: OSiVFilter compatible with HibernateTemplate? forum.hibernate.orgHi, I am using the OpenSessionInViewFilter to implement the session-per-request pattern, so that I can lazily load collections, but it is giving an error consistently: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.domain.Environment.applications - no session or session was closed My DAOs use Spring's HibernateTemplate. Does this close the session after being called? My DAO method being called is: ... |