Skip to main content
skill CX Codex

java-jpa-hibernate — Claude Code skill: what it does, how to install

Guides JPA entity mapping, query tuning, and transaction controls for Java persistence layers in production.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-jpa-hibernate -a claude-code
Open on GitHub

What java-jpa-hibernate does

This skill guides assistants through entity modeling, Spring Data repositories, and Hibernate tuning. It focuses on targeted relational engines: postgresql, mysql, oracle, and h2. You get clear patterns for audit listeners, lifecycle callbacks, and locking strategies.

The included guidance tackles query bottlenecks. It outlines when to apply JOIN FETCH, dynamic @EntityGraph declarations, batch fetching with @BatchSize, or lightweight DTO projections. Configuration recipes cover HikariCP connection limits and second-level cache controls.

Leaving open-in-view enabled masks architectural defects until database traffic spikes unexpectedly during response rendering.

What it helps with

  • eliminate N+1 select bottlenecks in Spring Data queries
  • map bidirectional entity relationships with audit fields
  • configure JDBC batching and HikariCP connection pools
  • apply optimistic or pessimistic locking to transactions

Example prompts for the agent

  • Refactor this repository query to use a DTO projection and prevent LazyInitializationException.
  • Configure batch insert properties and connection pool limits for PostgreSQL in application.yml.
  • Add an @EntityGraph to fetch order items and avoid secondary queries.

How to install java-jpa-hibernate

1Skills CLI (Vercel)

npx skills add pluginagentmarketplace/custom-plugin-java --skill java-jpa-hibernate -a claude-code

2Manually: put the files in place

~/.claude/skills/java-jpa-hibernate/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/java-jpa-hibernate/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about java-jpa-hibernate

How to install java-jpa-hibernate in Claude Code?

Run npx skills add pluginagentmarketplace/custom-plugin-java --skill java-jpa-hibernate -a claude-code in your terminal. The skill file is placed at ~/.claude/skills/java-jpa-hibernate/SKILL.md.

What databases does this skill target?

Validation rules limit the target database parameter to postgresql, mysql, oracle, and h2.

How does the skill address N+1 query problems?

It provides specific patterns using JOIN FETCH, @EntityGraph, collection @BatchSize, or DTO projections depending on read requirements.

Similar skills

All skills for Backend and APIs →

From the same set9

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor