Implemented repository with JPA