Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

java-hibernate-jpa

Skill by github

Diagnoses and fixes Hibernate ORM and Jakarta Persistence problems in plain Java. Aimed at developers reviewing or writing JPA entities, mappings and queries. Framework-neutral, with notes on Hibernate 5, 6 and 7 differences.

  • Score 94
  • 42k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install java-hibernate-jpa

Built from the published package, never by AI.

git clone --depth 1 https://github.com/github/awesome-copilot /tmp/awesome-copilot && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-copilot/skills/java-hibernate-jpa ~/.claude/skills/java-hibernate-jpa

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install java-hibernate-jpa in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Java Hibernate JPA is an agent skill that helps an assistant diagnose and fix Hibernate ORM and Jakarta Persistence problems in plain Java. It works as a problem, anti-pattern and fix library for entity mapping and querying. It covers N+1 queries, lazy loading errors, identifier generation, equals and hashCode, cascades, pagination, batching, locking and caching.

The skill starts by detecting the stack from pom.xml or build.gradle, including the Hibernate major version and whether the schema is managed by Flyway or Liquibase. It recommends measuring SQL statement counts in a test before optimizing. Reference files hold detailed guidance on fetching, identifiers, associations, queries, locking and tooling. It is aimed at developers reviewing or writing JPA entities, mappings and queries, and it is framework-neutral.

Written from the project's SKILL.md and checked against it.

What it can do

  • N+1 and lazy loadingFinds N+1 queries and LazyInitializationException causes and suggests fixes.
  • Identifier generationGuides the choice of SEQUENCE, IDENTITY or UUID ids and matching allocationSize.
  • Entity equals and hashCodeExplains deliberate equals and hashCode on entities and Lombok pitfalls.
  • Cascades and associationsReviews cascade types, orphanRemoval and bidirectional helper methods.
  • Pagination and batchingCovers offset and keyset pagination, bulk operations and JDBC batching.
  • Locking and cachingCovers optimistic and pessimistic locking, transaction boundaries and second-level cache.
  • Schema managementSets a rule for hbm2ddl settings and Flyway or Liquibase migrations.
  • Version differencesNotes Hibernate 5, 6 and 7 differences and Jakarta Persistence versions.
  • Statement count checksRecommends SQL logging and statistics in tests before optimizing.

What you need

  • A Java project using Hibernate ORM
  • Java 17 or newer for Hibernate 7
  • A real database for integration tests

Try asking

  • Find N+1 queries in my Hibernate repository code
  • Review my JPA entity equals and hashCode methods
  • Suggest pagination fixes for my JPA queries

Good to know

  • Spring Boot and Quarkus specifics are handled by other skills.
  • Hibernate 5 uses javax.persistence and needs the javax-to-jakarta-migration skill.
  • Upgrade guidance should be checked against the target version's migration guide.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/java-hibernate-jpa/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB
  • references/associations-and-cascade.md4 KB
  • references/fetching-and-n-plus-one.md6 KB
  • references/identifiers-and-entity-design.md7 KB
  • references/locking-transactions-caching.md6 KB
Show all 7 files
  • references/queries-pagination-batching.md7 KB
  • references/tooling-and-versions.md6 KB

Alternatives to java-hibernate-jpa

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

java-hibernate-jpa: common questions

Does this skill work with Spring Boot?

The source says to use the java-springboot and spring-boot-testing skills for Spring Data, transaction wiring and @DataJpaTest when they are installed.

Which Hibernate versions does it cover?

The source covers differences in Hibernate 5, 6 and 7. It notes that Hibernate 7 needs Java 17 or newer.

How does it check for N+1 queries?

It tells the assistant to measure statement counts with SQL logging and statistics in a test before changing code.

How do I install java-hibernate-jpa?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is java-hibernate-jpa free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is java-hibernate-jpa safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to java-hibernate-jpa?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

java-hibernate-jpa Install

Add to stack

Loading.