jpa-rules
CommunityEnforce robust JPA entity mapping.
Authorgykk16
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides clear, actionable guidelines to ensure consistent and maintainable JPA entity mapping, preventing common pitfalls and promoting best practices in database interactions.
Core Features & Use Cases
- Entity Mapping Standards: Defines rules for extending base entities, enum mapping, and association policies.
- Fetch Strategy Guidance: Recommends
LAZYfetching and provides solutions for lazy loading issues. - Locking Strategies: Explains optimistic and pessimistic locking with examples.
- Use Case: When developing new entities, developers can consult this Skill to ensure they adhere to the project's established patterns for auditing, associations, and fetching, leading to more predictable and performant data access.
Quick Start
Follow the jpa-rules skill to ensure your new entity correctly extends BaseEntity and uses LAZY fetching for all associations.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: jpa-rules Download link: https://github.com/gykk16/spring-skeleton/archive/main.zip#jpa-rules Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.