Topic
JPA and Hibernate persistence contexts, entity state, fetching, mappings, transaction behavior, locking, query choices, batching, and schema evolution.
Practice items tagged with JPA, Hibernate & Transactions.
Explains Spring's transactional proxy boundary and why an internal method call does not normally start independent advice.
Explains how managed changes become SQL at flush and why flush is not the same as a durable commit.
Connects identity, sequence, table, UUID, and assigned identifiers to database support, round trips, ordering, and batch inserts.
Explains mapping fetch semantics while separating them from the query-specific data shape an endpoint actually needs.
Compares joining an existing transaction, suspending it for an independent transaction, and using a savepoint-backed nested scope.
Uses generated repository behavior for simple cases and explicit query or implementation boundaries when the use case becomes complex.