lazy loading because update is called after activate concode_field_sep ItemRegistry itemRegistry concode_elem_sep Logger logger concode_elem_sep EntityManagerFactory emf concode_field_sep void closeEntityManagerFactory concode_elem_sep String getPersistenceUnitName concode_elem_sep String getName concode_elem_sep EntityManagerFactory newEntityManagerFactory concode_elem_sep void unsetItemRegistry concode_elem_sep boolean isEntityManagerFactoryOpen concode_elem_sep Iterable<HistoricItem> query concode_elem_sep void activate concode_elem_sep void store concode_elem_sep void store concode_elem_sep void setItemRegistry concode_elem_sep void deactivate concode_elem_sep Item getItemFromRegistry
EntityManagerFactory function ( ) { if ( emf == null ) { emf = newEntityManagerFactory ( ) ; } return emf ; }