This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Using openSessionInViewFilter but session is closed

Apr 18th, 2009, 04:19 AM

Hello,

I'm using Spring Hibernate in a Webapplication. To load persistent Objects I use HibernateDaoSupport.

But in my Business Objects I've 1:Many Relations declared with FetchType.LAZY. So the Collection is not loaded in the dao but somewhere in my presentation Layer. Unfortunately without hibernate session.