void function ( ) { EntityManager loc0 = entityManager . get ( ) ; entityManager . set ( null ) ; if ( loc0 != null ) { try { loc0 . close ( ) ; } catch ( RuntimeException loc1 ) { log . log ( Level . SEVERE , "srini_string" , loc1 ) ; } } }
closes an entity manager for current thread . concode_field_sep EntityManagerFactory factory concode_elem_sep ThreadLocal<EntityManager> entityManager concode_elem_sep Logger log concode_elem_sep String PERSISTENCE_UNIT concode_field_sep void createEntityManagerFactory concode_elem_sep void beginTransaction concode_elem_sep void commitTransaction concode_elem_sep void rollbackTransaction concode_elem_sep void commitAndCloseTransaction concode_elem_sep EntityManager currentEntityManager concode_elem_sep void shutdown concode_elem_sep EntityTransaction getTransaction