Skip to main content

Introduction, ORM and Comparisons: JDBC, JPA, Spring Data JPA

Learn Introduction, ORM and Comparisons: JDBC, JPA, Spring Data JPA (Phase 1 · Hibernate Fundamentals (Core), Hibernate) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

What is Hibernate and what is ORM? • Hibernate ORM is an open-source Java framework that maps Java objects to relational tables ( Object-Relational Mapping ) and generates the SQL for you. You work with entities and a session/entity manager; Hibernate issues INSERT/SELECT/UPDATE/DELETE, manages connections, and keeps objects and rows in sync. • ORM bridges the object-relational impedance mismatch : objects have inheritance, references and identity, tables have rows, foreign keys and keys. Hibernate handles type conversion, associations, inheritance mapping, caching, lazy loading and dirty...

More lessons in Phase 1 · Hibernate Fundamentals (Core)