Software Engineering Architecture Lab

Unit of Work, Identity Map & Lazy Load

What JPA/Hibernate does for you — and how it surprises you (N+1, dirty checking). Lesson 6 of Level 5: Enterprise Application Architecture.

Level 5 · Enterprise Application Architecture · Lesson 6 of 10

What JPA/Hibernate does for you — and how it surprises you (N+1, dirty checking).

Continue learning

All lessons in Enterprise Architecture

  1. Layered Architecture: Presentation, Domain, Data
  2. Transaction Script vs Domain Model vs Table Module
  3. Service Layer: One Front Door for Every Use Case
  4. Active Record vs Data Mapper (and the Gateways)
  5. Repository: A Collection-Like Home for Aggregates
  6. Unit of Work, Identity Map & Lazy Load
  7. MVC, Front Controller & Friends
  8. Remote Facade & DTO: Designing Across the Network
  9. Optimistic vs Pessimistic Offline Locks
  10. Enterprise Integration Patterns: Messaging Between Systems