close the single hibernate session instance . concode_field_sep String configFile concode_elem_sep Configuration configuration concode_elem_sep ThreadLocal<Session> threadLocal concode_elem_sep String CONFIG_FILE_LOCATION concode_elem_sep org.hibernate.SessionFactory sessionFactory concode_field_sep Configuration getConfiguration concode_elem_sep void rebuildSessionFactory concode_elem_sep Session getSession concode_elem_sep void setConfigFile concode_elem_sep org.hibernate.SessionFactory getSessionFactory
void function ( ) { Session loc0 = ( Session ) threadLocal . get ( ) ; threadLocal . set ( null ) ; if ( loc0 != null ) { loc0 . close ( ) ; } }