What problem does it solve? Designing JPA/Hibernate persistence layers involves many subtle decisions — entity vs. value type mapping, inheritance strategies, fetch plans, locking, and caching — where wrong defaults cause n+1 queries, broken equality semantics, and scalability failures. This Skill provides the distilled frameworks, patterns, and anti-patterns from "Java Persistence with Hibernate, 2nd Edition" so those decisions follow the authors' proven guidance. ## Core Features & Use Cases - Chapter-level knowledge base: 20 chapter files covering ORM fundamentals, mapping strategies, transactions, fetching, queries, and application architecture, each with core ideas, worked CaveatEmptor examples, pitfalls, and when-to-apply guidance. - Patterns and anti-patterns catalog: 14 recurring patterns (surrogate keys, lazy-by-default fetching, optimistic locking, deliberate scaling) plus a table of named anti-patterns with fixes. - Cheatsheet and glossary: Quick reference for annotations, configuration properties, EntityManager/locking/caching APIs, query snippets, and author-specific terminology. - Use Case: When mapping a bidirectional Item–Bid association, consult the patterns file to decide between a mapped collection with mappedBy and orphanRemoval versus a simple query, avoiding the shared-reference trap. ## Quick Start Ask the AI to help design or review a JPA entity mapping, fetch plan, or transaction strategy, and it will load the relevant chapter, pattern, or cheatsheet guidance from this Skill.