void function ( ) { if ( sessionFactory == null ) { throw new java . lang . IllegalStateException ( "srini_string" ) ; } try { sessionFactory . close ( ) ; } finally { if ( usingFileSystem ) { cleanupFilesystem ( ) ; } } sessionFactory = null ; }
closes the sessionfactory . make sure you close all sessions first concode_field_sep Log log concode_elem_sep List<LoadEventListener> additionalLoadEventListeners concode_elem_sep Set<Class<?>> annotatedClasses concode_elem_sep SessionFactoryImplementor sessionFactory concode_elem_sep Properties cfg concode_elem_sep File indexRootDirectory concode_elem_sep boolean usingFileSystem concode_field_sep FullTextSessionBuilder addAnnotatedClass concode_elem_sep FullTextSessionBuilder addLoadEventListener concode_elem_sep FullTextSession openFullTextSession concode_elem_sep FullTextSessionBuilder build concode_elem_sep Statement apply concode_elem_sep FullTextSessionBuilder setProperty concode_elem_sep FullTextSessionBuilder useFileSystemDirectoryProvider concode_elem_sep SearchMapping fluentMapping concode_elem_sep void cleanupFilesystem concode_elem_sep SearchFactory getSearchFactory