The jpa-patterns skill provides a comprehensive blueprint for building robust data access layers in Spring Boot applications using JPA and Hibernate. It guides Claude in implementing best practices for entity modeling, preventing N+1 query problems via fetch strategies, optimizing transactions, and configuring connection pooling. By using this skill, developers can ensure their persistence layer is scalable, well-indexed, and follows industry-standard patterns for auditing, pagination, and database testing.
主な機能
01Advanced Repository Patterns for efficient data retrieval
02N+1 Query Prevention using JOIN FETCH and DTO projections
03Database Tuning configurations for HikariCP and Hibernate batching
04Transaction Management strategies for high-performance read/write paths
05Optimized Entity Design with automated auditing and indexing
06501 GitHub stars
ユースケース
01Designing complex relational data models in Spring Boot microservices
02Implementing efficient cursor-based or offset pagination for large datasets
03Refactoring legacy data layers to resolve Hibernate performance bottlenecks