Creation of JPA configuration.