Skip to main content

JPA Advanced - Auditing, Locking & Specifications

Learn JPA Advanced - Auditing, Locking & Specifications (Spring Data JPA, Spring Boot) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Beyond Mapping: What This Topic Adds By now an entity maps to a table, a repository writes queries from method names, and a join pulls two tables together. This topic covers the parts of JPA that appear once an application is actually in production: fields that must not be persisted, enums stored safely, hooks that run around a save, columns that fill themselves in, and queries built at runtime rather than declared at compile time.

More lessons in Spring Data JPA