Hi Marcio,
I use Hibernate with Struts and the way I ensure that the session does not
get closed is by using a filter. This filter opens up and closes a session
at the beginning and end of each request.
Then, if I need to use those objects again I associate them with the session
and carry on.
T
You could use servlet filters to have the hibernate session open until the
request is processed. There are articles in the www.hibernate.org that explains
different patterns to handle situations similar to yours... Hibernate session
needs to be open in order for the objects to load the collectio
2 matches
Mail list logo