Lesson 4 of 620 minModule progress 0%

Module 15: Database Access

JPA & Hibernate Basics

Map entities to tables with annotations and interact via EntityManager.

Annotate classes with @Entity, choose @Id strategies, and map fields with @Column.

Use EntityManager or Spring Data repositories to persist and query entities.

Understand persistence context caching, dirty checking, and flush behavior.

Advertisement

Lesson check

Which annotation marks the primary key?

Next lesson →