Skip to main content
Back to registry

jpa-patterns

affaan-m/everything-claude-code

Use for data modeling, repositories, and performance tuning in Spring Boot.

Installs952
Install command
npx skills add https://github.com/affaan-m/everything-claude-code --skill jpa-patterns
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
Use for data modeling, repositories, and performance tuning in Spring Boot. Enable auditing: For cursor-like pagination, include id > :lastId in JPQL with ordering. Recommended properties: For PostgreSQL LOB handling, add: Remember : Keep entities lean, queries intentional, and transactions short. Prevent N+1 with fetch strategies and projections, and index for your read/write paths. - Designing JPA entities and table mappings - Defining relationships (@OneToMany, @ManyToOne, @ManyToMany) - Optimizing queries (N+1 prevention, fetch strategies, projections) - Configuring transactions, auditing, or soft deletes - Setting up pagination, sorting, or custom repository methods - Tuning connection pooling (HikariCP) or second-level caching - Default to lazy loading; use JOIN FETCH in queries when needed - Avoid EAGER on collections; use DTO projections for read paths - Use projections for lightweight queries: - Annotate service methods with @Transactional - Use @Transactional(readOnly = true) for read paths to optimize - Choose propagation carefully; avoid long-running transactions - Add indexes for common filters ( status , slug , foreign keys) - Use composite indexes matching query patterns ( status, created_at ) - Avoid select * ; project only needed columns - Batch writes with saveAll and hibernate.jdbc.batch_size - 1st-level cache is per EntityManager; avoid keeping entities...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does jpa-patterns do?

Use for data modeling, repositories, and performance tuning in Spring Boot.

Is jpa-patterns good?

jpa-patterns does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does jpa-patterns work with?

jpa-patterns currently lists compatibility with codex, gemini-cli, opencode, cursor, github-copilot, claude-code.

What are alternatives to jpa-patterns?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install jpa-patterns?

npx skills add https://github.com/affaan-m/everything-claude-code --skill jpa-patterns

Related skills

More from affaan-m/everything-claude-code

Related skills

Alternatives in Software Engineering