Spring Data JPA Relationships Tutorial – ManyToMany, ManyToOne & OneToMany
As I continue my quest for a better understanding of JPA, I came across this video by Kris Foster. Kris reminds the viewer that this tutorial is only about the JPA items and there are better ways to architect and develop the surrounding code. Keep this in mind while you watch.
The video covers the
@OneToMany annotations. While this is a mention of lazy fetching in a comment after debugging an issue, this video does not cover the fetch types and when to use them.