GuideTechnology
35 min read
JPA Relationships, Lazy Loading, the N+1 Problem, Transactions and Optimistic Locking
Add interviews to job applications and meet the real problems of JPA: relationship mapping, lazy loading and its exception, the N+1 query problem measured and fixed, what @Transactional does and does not do, and optimistic locking that stops lost updates, all tested on PostgreSQL.

