Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

bobocode-projects/jpa-hibernate-tutorial

Repository files navigation

JPA and Hibernate tutorial

The list of tutorials on ORM, JPA and Hibernate features and best practices

Pre-conditions ❗

You're supposed to be familiar with OOP, have basic knowledge of JDK, and be able to write Java code.

Related information ℹ️

Overview

  • Java Persistence with Hibernate 📗
    • 1.1.3 Using SQL in Java. (JDBC API disadvantages)
    • 1.2 The paradigm mismatch. (Object-oriented vs Relational model)
    • 1.3 ORM and JPA. (What are ORM advantages?)
    • 3.1.1 A layered architecture. (What is a persistence (DAO) layer?)
    • 3.1.2 Analyzing the business domain. (What is a domain model?)

JPA and Hibernate basics

Dirty checking

Lazy loading

  • Java Persistence with Hibernate 📗
    • 12.1.1 Understanding entity proxies. (One entity lazy loading)
    • 12.1.2 Lazy persistent collections. (Collection lazy loading)
    • 12.2.1 The n+1 selects problem