Add JPA support.