kotlin-backend-jpa-entity-mapping
OfficialMaster Kotlin JPA entity mapping.
AuthorJetBrains
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Kotlin's data classes and proxying semantics often cause subtle persistence bugs when modeling JPA entities in Spring Data projects. This guide teaches how to design Kotlin persistence layers that work reliably with Hibernate/JPA.
Core Features & Use Cases
- Entity design rules for Kotlin with JPA: avoid data classes, separate persistence entities from DTOs, and model nullability safely.
- Identity, equality, and fetch strategy guidance: implement ID-based equality, stable hashCode, and safe toString practices to prevent lazy-loading issues.
- Uniqueness constraints and common ORM traps: apply database constraints and application logic to prevent duplicates and stale reads.
Quick Start
Apply the Kotlin JPA entity design rules when creating or reviewing persistence models in a Spring Data JPA project.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: kotlin-backend-jpa-entity-mapping Download link: https://github.com/JetBrains/skills/archive/main.zip#kotlin-backend-jpa-entity-mapping 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 471,000+ vetted skills library on demand.