Java Jpa Hibernate Performance

Use this skill when statically reviewing JPA/Hibernate data access for fetch-strategy correctness and reliability — N+1 exposure, JOIN FETCH vs @EntityGraph vs @BatchSize vs DTO projection, LazyInitializationException and open-in-view misuse, pagination combined with a collection fetch (cartesian product), MultipleBagFetchException, and HikariCP connection-pool sizing. Trigger when a user provides entity classes, mappings, Spring Data repositories, or JPQL/Criteria queries and asks why queries are slow, why a page loads too much, or whether their data access is correct. Reads source and mapping only; it never opens a database connection, runs a query, or executes migrations.

VincentChuWaiChow 4f39471 4 files · 16.7 KB Updated

File contents

VincentChuWaiChow/vanguard-frontier-agentic/tree/main/skills/java/java-jpa-hibernate-performance commit 4f394719b3

Frequently asked questions

npx skillmds@latest add vincentchuwaichow/java-jpa-hibernate-performance