I have a three layer application using spring and hibernate (controller โ service โ dao) and the transaction is applied to the service level. I am not setting up an OpenSessionInViewInterceptor or OpenSessionInViewFilter, and I want to know the sleep session management behavior. Open session per transaction or per request? Thanks!
java spring hibernate session
stinghu
source share