JPA configuration fix