spring-framework / org.springframework.orm.hibernate5.support / OpenSessionInViewInterceptor / preHandle

preHandle

open fun preHandle(request: WebRequest): Unit

Open a new Hibernate Session according and bind it to the thread via the TransactionSynchronizationManager.