Intermediate

Spring Data JPA and Hibernate

The ORM, without the surprises.

Entities, relationships, the persistence context, lazy loading and the N+1 problem, transactions and their propagation, and the queries that Spring Data derives and the ones you should write yourself.

5 lessons written2 modules~1h reading

After this course you can

  • Map entities and relationships without an accidental N+1 or a LazyInitializationException
  • Explain the persistence context, dirty checking and flush timing
  • Use @Transactional with the right propagation and isolation and know where it silently does nothing
  • Choose between derived queries, JPQL, native SQL and projections

Curriculum

5 lessons · outlined lessons show their plan