Tag: JPA

Total 5 Posts

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 @ManyToMany, @ManyToOne and @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.

KK JavaTutorials Spring Data JPA Playlist

I continue to look at various JPA tutorials. This play list by KK JavaTutorials covers a lot that is not covered in other videos. There are lots of examples and references to the office documentation. Production quality is uneven. The content however is much more detailed than the other videos I have looked at.

Other videos in the list:

SpringBoot : Spring Data JPA – One To Many & Join Query | Example | Java Techie

As I have mentioned before, I beginning to do some work with JPA. As such, I am watching a few videos to help expand upon what I have read.


This video covers exactly what it says in the title. While I do not see a way around it, a lot of these videos spend a good amount of time setting up the project. This video is no exception. The meet of the subject comes in the last third where you see how to create a join query and return object.

Spring Data JPA from 0-100 in 60 minutes

As I have mentioned before, I am in the process of learning Spring JPA (I am already familiar with JPA), so I am watching a variety of videos.

This video showing a presentation by Jens Schauder at SpringOne Platform 2019, is a very good overview of what Spring Data JPA provides on top of JPA.

Slides can be found at https://www.slideshare.net/Pivotal/spring-data-jpa-from-0100-in-60-minutes.

Spring Boot, MySQL, JPA, Hibernate Restful CRUD API Example | Java Techie

I am currently starting a project that will use Spring Boot and JPA. While I have used JPA a lot, I have never setup a project from scratch, so I am watching a bunch of Spring Boot and JPA tutorials.


This video barely meets my needs and only because I am already very familiar with Spring Boot and JPA. Only the first third is pertinent to JPA. The rest of the video is more about setting up the API.

One item I am not familiar with is Project Lombok. In the video, the Lombok data project is used for the getters and setters.