Completed
Intro
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
The Ultimate Guide for Spring Data JPA and Hibernate - 5 Hours Tutorial
Automatically move to the next video in the Classroom when playback concludes
- 1 Intro
- 2 Setup postgres DB Docker
- 3 Setup MySQL DB Docker
- 4 Create a new spring boot project
- 5 Setup the DB and create a schema Postgres
- 6 Setup the DB and create a schema MySQL
- 7 Connect the application to the database Postgres
- 8 Connect the application to the database MySQL
- 9 The project we will build
- 10 Hibernate VS Spring data jpa
- 11 Create the first java class
- 12 Transform the Java class to an Entity
- 13 @Id annotation
- 14 @GeneratedValue annotation
- 15 Strategy: Auto
- 16 @SequenceGenerator annotation
- 17 @TableGenerator annotation
- 18 @Column annotation overview
- 19 Usage of @Colum annotation
- 20 @Table annotation
- 21 Repository overview
- 22 Depp understanding of repositories
- 23 Discover the repositories as code
- 24 Create the first repository
- 25 Create a command line runner bean
- 26 Insert some data into the DB
- 27 Entity lifecycle
- 28 Why creating relationships between entities
- 29 The difference between unidirectional and bidirectional relationship
- 30 Create the course entity
- 31 Create the section entity
- 32 Create the lecture entity
- 33 Create the resource entity
- 34 @ManyToMany relationship
- 35 @ManyToOne relationship
- 36 One to many between section and lecture
- 37 @OneToOne relationship
- 38 Check if your code is correct
- 39 JPA Inheritance overview
- 40 Inheritance over composition
- 41 @MappedSuperClass
- 42 Create the child classes
- 43 Single table strategy
- 44 Single table discriminator value
- 45 Test single table strategy
- 46 Joined table strategy
- 47 Table per class strategy
- 48 Polymorphic queries
- 49 Embedded entities overview
- 50 Create embedded id class
- 51 Use the embedded ID
- 52 Test the embedded ID
- 53 Create an embeddable Address class
- 54 @Embaddable annotation
- 55 Derived queries explained
- 56 FindAllBy explained
- 57 Playing with findBy method
- 58 Add Java faker dependency
- 59 Insert fake data
- 60 Exercise
- 61 Exercise - Solution - Update a field
- 62 Update data with @Modifiying
- 63 @MamedQueries definition
- 64 Select data with named query
- 65 Update data with named queries
- 66 Specification overview
- 67 Extend the repository
- 68 Building the specification
- 69 Execute the specification