|
From: Per O. <po...@no...> - 2005-02-19 22:20:19
|
Nick Minutello wrote: >>>Hence, one web request will quickly >>>use many connections, at the same time. > > > How so? Why should there be more than one session for a given request? > If the web-layer of the application calls multiple methods into the services layer where each method performs hibernate work, a new session will be opened for each hibernate call. That is of course, if "defferred close" is set on the filter. Isn't that how it works? At least, that was what we experienced when we tried it. /Per |