Improve JPA settings