Kotlin Exposed Database Patterns

•
151
•

Implements production-ready database access layers using JetBrains Exposed ORM with DSL, DAO, and migration patterns.

This skill provides a comprehensive framework for managing database persistence in Kotlin applications using the JetBrains Exposed ORM. It enables Claude to generate standardized implementations for both DSL and DAO query styles, configure robust HikariCP connection pooling, and manage schema versions with Flyway migrations. By incorporating the repository pattern and coroutine-safe transaction handling, this skill ensures that database logic is clean, testable, and optimized for high-performance production environments.

Características Principales

01Advanced query implementations for joins, pagination, and batch operations
02Pre-configured HikariCP connection pooling for production stability
03Type-safe table definitions including support for JSONB and UUIDs
04Dual-style query support for both Exposed DSL and DAO entities
05Integrated Flyway migration patterns for schema version control
06151 GitHub stars

Casos de Uso

01Architecting a new Kotlin backend with a type-safe SQL layer
02Implementing automated database migrations and connection pooling in Ktor or Spring Boot
03Migrating legacy JDBC code to structured Exposed repository patterns