949596979899100101102103104
dbEntityManger.insert(hpi); dbEntityManger.flush(); monitor.sync(); DbEntityManager dbEntityManager = dbEntityManagerFactory.openSession(); dbEntityManager.createHistoricProcessInstanceQuery().list(); monitor.sync(); return null;