domains / families / software-engineering / kotlin-backend-jpa-entity-mapping

kotlin-backend-jpa-entity-mapping

separate

Model Kotlin persistence code correctly for Spring Data JPA and Hibernate. Covers entity design, identity and equality, uniqueness constraints, relationships, fetch plans, and common ORM (Object-Relational Mapping) traps specific to Kotlin. Use when creating or reviewing JPA (Java Persistence API) entities, diagnosing N+1 or LazyInitializationException, placing indexes and uniqueness rules, or preventing Kotlin-specific bugs such as data class entities and broken equals/hashCode.

When to use

Skill page

Source

RepositoryPath
Kotlin/kotlin-agent-skillsskills/kotlin-backend-jpa-entity-mapping/SKILL.md