JPA vs Hibernate vs JDBC: What Each One Actually Does | Visually Explained
Nexus Dots
0:00 / 0:00
JPA vs Hibernate vs JDBC: What Each One Actually Does | Visually Explained
852 просмотра · 7 дн. назад
Nexus Dots
222 подписчика
852 просмотра · 7 дн. назад
Your Spring Boot app logs "Hibernate", but you never added it. So where did it come from? One save() call passes through Spring Data JPA, JPA, Hibernate, JDBC and the PostgreSQL driver. This video shows what each piece does, why it exists, and how they fit together.
Follow an order from a repository's save() call to PostgreSQL, then back into a Java object. See why object-relational mapping (ORM) exists, how a standard differs from real code, and what changes when you swap PostgreSQL for MySQL or Hibernate for EclipseLink.
For Java developers who want to understand the stack behind their code and explain the difference between JPA and Hibernate with confidence.
CHAPTERS
00:00 Your code works. What makes it work?
00:58 Standards and implementations
01:25 JDBC and database drivers
02:39 Why ORM exists
04:07 Why Hibernate and JPA were created
05:26 What JPA actually provides
06:12 What Hibernate does
07:34 Where Spring Data JPA fits
08:47 From save() to the database
10:17 Swapping databases and providers
11:01 The whole stack, connected
OFFICIAL RESOURCES
Jakarta Persistence (JPA)
https://jakarta.ee/specifications/per...
Hibernate ORM
https://hibernate.org/orm/
How Spring Data JPA saves entities
https://docs.spring.io/spring-data/jp...
JDBC API
https://docs.oracle.com/en/java/javas...
PostgreSQL JDBC driver
https://jdbc.postgresql.org/
Nexus dots — software concepts, visually explained.
Subscribe for more explanations that help you understand what your code is doing.
PHOTO CREDITS
Connector photos are cropped and composited into the animation. All three are licensed under CC BY 2.0:
https://creativecommons.org/licenses/...
"Apple 30-pin Dock Cable v. Lightning Cable" — unten44
https://commons.wikimedia.org/wiki/Fi...
"Micro USB vs micro HDMI 01" — isinoid
https://commons.wikimedia.org/wiki/Fi...
"USB Type-C Cable - iPad USB-C Charger" — Tony Webster
https://commons.wikimedia.org/wiki/Fi...
Map data: Natural Earth, public domain.
https://www.naturalearthdata.com/
#JPA #Hibernate #SpringBoot