The Ultimate Guide for Spring Data JPA and Hibernate - 5 Hours Tutorial

The Ultimate Guide for Spring Data JPA and Hibernate - 5 Hours Tutorial

via YouTube Direct link

Intro

1 of 69

1 of 69

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

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.