Add dependencies for JPA.