ALL_SERIES
SERIES_OVERVIEW // CURRICULUM_MAP

Learn Java Persistence, Database Integration, and JPA

// Kaufman-style skill map for mastering Java persistence, database integration, JPA, Hibernate, Spring Data JPA, transaction boundaries, performance, and production failure modes.

35 Lessons640 Min Total04 Phases

This overview is designed to help you choose the right entry point quickly. Follow the full track from lesson one, continue from your last checkpoint, or jump straight into a phase that matches what you need right now.

advanced-javaaggregateanti-patternsarchitectureassociation-mapping+114 more

Curriculum Map

Navigate by phase, then choose the lesson that matches your current depth.

01

Kaufman Skill Map for Persistence Mastery

24 min

Kaufman-style skill map for mastering Java persistence, database integration, JPA, Hibernate, Spring Data JPA, transaction boundaries, performance, and production failure modes.

02

Persistence Mental Model: Object, Row, Identity, Transaction

20 min

Deep mental model of Java persistence: object graph, relational rows, persistence identity, entity state, transaction boundary, and the object-relational impedance mismatch.

03

JPA Architecture: EntityManager, Persistence Context, Provider

19 min

Deep dive arsitektur JPA modern: persistence unit, EntityManagerFactory, EntityManager, persistence context, provider, transaction integration, datasource, dan boundary antara standar JPA, Hibernate, dan Spring Data JPA.

04

Entity Mapping Foundation

18 min

Fondasi entity mapping JPA: aturan entity class, table dan column mapping, access type, constructor, field mutability, id design, enum dasar, temporal field, constraint, dan prinsip mapping correctness.

05

Entity Identity and Lifecycle

15 min

Deep dive tentang identity entity dan lifecycle JPA: Java identity, database identity, domain identity, state transient/managed/detached/removed, persist, merge, remove, detach, refresh, equals/hashCode, generated id, dan failure mode production.

06

Association Mapping Without Self-Deception

13 min

Deep dive association mapping JPA: many-to-one, one-to-many, one-to-one, many-to-many, owning side, mappedBy, join column, join table, bidirectional consistency, cardinality, foreign key semantics, dan anti-pattern relasi ORM.

07

Aggregate Boundaries and Object Graph Persistence

21 min

Aggregate boundaries, object graph persistence, cascade semantics, orphan removal, graph explosion, and production-safe domain lifecycle modelling with JPA and Hibernate.

08

Value Objects, Embeddables, and Attribute Converters

16 min

Value objects, embeddables, embedded identifiers, attribute converters, enum mapping, type safety, and production-safe custom value modelling in JPA.

09

Inheritance and Polymorphic Persistence

18 min

Inheritance mapping, polymorphic persistence, discriminator design, MappedSuperclass, SINGLE_TABLE, JOINED, TABLE_PER_CLASS, query trade-offs, and production decision framework.

10

Schema Generation and Migration Boundaries

18 min

Schema generation, migration boundaries, Flyway/Liquibase discipline, ddl-auto risk, safe schema evolution, zero-downtime migration, and production-grade database change management.

11

Transaction Semantics in Java Persistence

20 min

Transaction semantics in Java Persistence, including resource-local, JTA, Spring @Transactional, propagation, rollback rules, transaction ownership, consistency boundaries, and production-grade failure modelling.

12

Persistence Context Deep Dive

19 min

Deep dive into the JPA persistence context, first-level cache, identity map, managed state, dirty checking, snapshots, write-behind, clear/detach/merge behavior, memory risk, and production debugging.

13

Flushing, Commit, and SQL Emission Timing

13 min

Deep dive into JPA flushing, commit behavior, SQL emission timing, flush modes, query-triggered flush, write-behind, constraint timing, and production debugging patterns.

14

JPQL, HQL, and the Object Query Model

12 min

Deep dive into JPQL, HQL, and the object query model: entity-based querying, path navigation, joins, fetch joins, parameters, constructor expressions, bulk operations, and query correctness.

15

Criteria API and Type-Safe Dynamic Queries

17 min

Deep dive into Criteria API and Specification pattern: programmatic query construction, composable predicates, dynamic filtering, joins, count queries, pagination boundaries, and anti-patterns.

16

Projections, DTOs, and Read Models

17 min

Deep dive into projections, DTOs, and read models: entity results vs scalar results, constructor projections, record DTOs, Tuple, Spring Data projections, native projections, read/write separation, and production pitfalls.

17

Fetching Strategies: Lazy, Eager, Join Fetch, Entity Graph

16 min

Deep dive into fetching strategies in JPA and Hibernate: lazy, eager, join fetch, entity graph, batch fetch, subselect fetch, DTO projection, fetch plan design, and production-safe query boundaries.

18

N+1 and Query Plan Failures

13 min

Deep dive into N+1 query problem and query plan failures in JPA/Hibernate: detection, root causes, fetch join traps, Cartesian product, duplicate roots, multiple bag fetch, pagination failure, SQL plan review, and remediation playbook.

19

Pagination, Sorting, and Windowed Access

20 min

Deep dive into pagination, sorting, windowed access, keyset pagination, stable ordering, scroll APIs, streaming reads, chunk processing, and production-scale result traversal in Java Persistence and Spring Data JPA.