Implements spring profiles to be able to run the application in a JPA or Hibernate mode