Use modern jpa persistence provider.