JPA Patterns & Hibernate Optimization
Optimizes Java persistence layers by applying Hibernate best practices and resolving common performance bottlenecks like the N+1 query problem.
This skill equips Claude with specialized knowledge of JPA and Hibernate to help developers build efficient data access layers in Spring applications. It provides actionable guidance on resolving LazyInitializationExceptions, implementing optimal fetching strategies (JOIN FETCH, EntityGraphs), managing complex transaction propagations, and designing high-performance entity relationships. Whether you're troubleshooting slow queries or architecting a new domain model, this skill ensures your persistence code follows industry-standard patterns and avoids common pitfalls like dirty checking overhead and lost updates.