# Hibernate and JPA fixes

> Fixes Hibernate issues like N+1 queries, lazy loading errors and broken equals so your Java app runs cleanly.

- Page: https://youraiskill.com/skill/github-java-hibernate-jpa
- What it does: Diagnose and fix Hibernate ORM / Jakarta Persistence problems in plain Java: N+1 queries, lazy loading errors, identifier generation, entity equals/hashCode, cascades, pagination, batching, locking, caching, Lombok on entities, and Hibernate 6/7 differences. Use when reviewing or writing JPA entities, mappings, and queries. Framework-neutral.
- Niches: backend, coding
- Licence: MIT
- Status: Checked: open licence, author credited, passed the YourAISkill safety scan. Can be added to a paid pack.
- Contents: instructions and reference files only (7 files)

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
