public void contextInitialized(ServletContextEvent sce) {
LOGGER.debug("initializing..");
WebApplicationContext ctx = WebApplicationContextUtils
.getWebApplicationContext(sce.getServletContext());
PersonRepository personRepository = ctx.getBean(PersonRepository.class);
personRepository.deleteAll();
List<Person> persons = new ArrayList<Person>();
int itemCount = 100;
int chunkSize = 25;
for (int i = 1; i <= itemCount; i++) {