question: private void bindSession ( ) { SessionFactory sessionFactory = ( SessionFactory ) getBean ( "sessionFactory" ) ; Session session = sessionFactory . openSession ( ) ; TransactionSynchronizationManager . bindResource ( sessionFactory , new SessionHolder ( session ) ) ; }
target:  Binds a Hibernate Session to the current thread.