jpa-spring-data-kotlin-mapper

Official

Safe Kotlin JPA mappings survive lazy loading.

AuthorKotlin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Model Kotlin persistence code correctly for Spring Data JPA and Hibernate, including entity design, relationships, fetch plans, repository queries, lazy loading, and common performance traps.

Core Features & Use Cases

  • Do not generate JPA entities as data class; keep transport DTOs separate from persistence entities.
  • Ensure lazy loading safety, proper fetch plans, and correct handling of bidirectional relationships.
  • Address N+1 queries, indexing, and optimization through EntityGraph, JOIN FETCH, and projections.

Quick Start

Apply the mapper to your Kotlin entities and repositories to verify Hibernate compatibility and resolve lazy-loading and N+1 issues.

Dependency Matrix

Required Modules

None required

Components

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: jpa-spring-data-kotlin-mapper
Download link: https://github.com/Kotlin/kotlin-backend-agent-skills/archive/main.zip#jpa-spring-data-kotlin-mapper

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.