›Creating Movie repository and controller classes
3.3 · Lesson
Creating Movie repository and controller classes
You have mapped the Movie and Person entities in the data domain. Now you need a Movie repository interface and controller class to access the movies in the database.
Start by creating a new file called MovieRepository.java in the src/main/java/com/example/appspringdata directory, choose interface as the type, and extend it to match the following:
Join GraphAcademy to keep learning
Create your account to unlock 80+ hours of hands-on Neo4j courses, track your progress, and earn a certificate when you complete the course.
Sign in or register