|
From: James C. <jim...@do...> - 2004-06-12 20:44:07
|
Daniel, Is there a document somewhere that summarizes this behavior in Hibernate? I'm trying to understand what the drawbacks to open session in view are. I don't understand the point you make about the session not being discarded [closed properly?]. > -----Original Message----- > Of Daniel Miller > > Hello, > > One of the current critiques of the OpenSessionInViewFilter/Interceptor > that > ships with Spring is that a Hibernate session is open for the entire > duration of the request (not just during the rendering of the view). The > danger here is that a failed session (due to DataAccessException) will not > be discarded. |