I'm trying to use spring data neo4j in my project here's a simple entity:
@NodeEntity
public class Actor{
@GraphId
private Long id;
@Property(name="name")
private String fullName;
@Relationship(type="ACTED_IN", direction=Relationship.OUTGOING)
private List<Movie> filmography = new ArrayList<Movie>();
}
I wonder if there is a way to tell spring to use lazy load on entity relationships?