Back-End Engineer (Java Spring Boot): JPA repository design