Re: OpenSessionInViewFilter configuration

2006-08-23 Thread Vinicius Carvalho
BTW Henri, I'm using (I guess yours) implementation of OSIVF (HibernateRequestFilter), so far its working great (I've dump the Spring version, cuz when I add friendly urls for direct service. It quit working, I guess I needed another filter mapping on web.xml) Just wanna now, if spring transactio

Re: OpenSessionInViewFilter configuration

2006-08-23 Thread Henri Dupre
I wouldn't have any concerns about performances. An empty hibernate session is lightweight. We did originally consider not opening hibernate sessions for some pages but the impact on performances was so low that we did not bother doing anything like that. What does matter on the performance side h

Re: OpenSessionInViewFilter configuration

2006-08-22 Thread hv @ Fashion Content
I have the same concerns, but for some reason few people care to make the creation and closing of a session depend on actual use. Relating it to the page name is a weak solution imo. It should be a concern handled strictly and transparently by the persistence framework (provided that you define t

Re: OpenSessionInViewFilter configuration

2006-08-22 Thread Vinicius Carvalho
Well I guess, I'm just worried about performance, those page will handle a few thousands of concurrent users, and they use ajax, we expect something like 500-700 simultaneous requests for the pages. Best regards On 8/22/06, Henri Dupre <[EMAIL PROTECTED]> wrote: Do you really need to turn it of

Re: OpenSessionInViewFilter configuration

2006-08-22 Thread Henri Dupre
Do you really need to turn it off? It shouldn't hurt to have it on even if you don't need an hibernate session. On 8/22/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote: Hello there! I'm using OSIVF with spring in my app. I had it configured just like examples on the wiki: hibernateFi