Add JPA Functionality complete working ok