Code cleanup for the JPA config.