Kotlin Backend Jpa Entity Mapping

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.

jetbrains Updated

File contents

jetbrains/skills/tree/main/kotlin-backend-jpa-entity-mapping commit c80fe09051

Frequently asked questions

npx skillmds@latest add jetbrains/kotlin-backend-jpa-entity-mapping