Kotlin Exposed ORM Patterns

•
151
•

Implements production-ready database access layers using JetBrains Exposed ORM, HikariCP pooling, and Flyway migrations.

This skill provides Claude with standardized, high-performance patterns for building robust data access layers in Kotlin. It covers the full lifecycle of database management, from configuring HikariCP connection pooling and Flyway migrations to implementing complex DSL and DAO query patterns. By utilizing the `newSuspendedTransaction` context, it ensures that all database operations are thread-safe and coroutine-compatible, making it an essential resource for developers building modern backend services who want to maintain a clean separation between business logic and the persistence layer.

主要功能

01Advanced DSL and DAO query implementation patterns
02Automated database schema migrations using Flyway
03Production-ready HikariCP connection pool configuration
04Coroutine-safe transaction management with newSuspendedTransaction
05151 GitHub stars
06Clean Repository pattern implementation for decoupled architecture

使用场景

01Setting up a new Kotlin backend service with relational database persistence
02Implementing complex SQL joins, aggregations, and JSONB queries
03Refactoring legacy database code into maintainable Repository patterns