add JPA support for Service class