Hi,
I'm trying to execute a JUnit Test in my daos, but throws an LazyInitializationException. I think that is because when i load an object from database, the session is closed. The method i'm trying to test an update method, where i have to load an object from database, modify it, then call update method.
how can i keep the session opened in my test?
Hibernate: 3.0.5
Spring: 1.2.3


Reply With Quote