void function ( ) { Session loc0 = ( Session ) threadLocal . get ( ) ; threadLocal . set ( null ) ; if ( loc0 != null ) { loc0 . close ( ) ; System . out . println ( "srini_string" ) ; } }
close the single hibernate session instance . concode_field_sep Configuration configuration concode_elem_sep String configFile concode_elem_sep ThreadLocal<Session> threadLocal concode_elem_sep String CONFIG_FILE_LOCATION concode_elem_sep org.hibernate.SessionFactory sessionFactory concode_field_sep List<?> executeQueryByPage concode_elem_sep Configuration getConfiguration concode_elem_sep void rebuildSessionFactory concode_elem_sep Session openSession concode_elem_sep Session getSession concode_elem_sep void setConfigFile concode_elem_sep org.hibernate.SessionFactory getSessionFactory concode_elem_sep List<?> executeQuery concode_elem_sep void executeSave concode_elem_sep void executeUpdate