Challenge: Create Person class
Your challenge is to use the skills from last lesson to create a class for the Person domain.
In the src/main/java/com/example/appspringdata directory, create a new file called Person.java, then choose class as the type. Utilizing the following list of iFull definition for property (opens in a new tab)A named value stored on a node or a relationship. and data types for the Person iFull definition for node (opens in a new tab)A vertex in a graph. In a property graph it can carry labels and properties. in Neo4j, map your domain class with the imdbId field as the class's identifier and an @Node annotation at the top. You can also verify the data types yourself by running the query shown in the Query pane on the right.
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