@Override
    protected WebApplicationContext createServletApplicationContext() {
        XmlWebApplicationContext webAppContext = new XmlWebApplicationContext();
        webAppContext.setConfigLocation("classpath:spring/mvc-core-config.xml");
        return webAppContext;
    }
Spring profile used to choose the persistence layer implementation.
<p>
When using Spring jpa, use: jpa
When using Spring JDBC, use: jdbc
When using Spring Data JPA, use: spring-data-jpa
<p/>
<p>
You also may use the -Dspring.profiles.active=jdbc VM options to change
default jpa Spring profile.
src/main/java/org/springframework/samples/petclinic/PetclinicInitializer.java