kotlin-exposed-patterns

Implements Kotlin Exposed ORM patterns with DSL, DAO, transactions, HikariCP, and Flyway.

Updated Mar 21, 2026
One-click install
npx skills add https://github.com/hieuck/Pro5ChromeManager --skill kotlin-exposed-patterns-hieuck
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kotlin-exposed-patterns
Source: https://github.com/hieuck/Pro5ChromeManager/tree/main/skills/kotlin-exposed-patterns
Command: npx skills add https://github.com/hieuck/Pro5ChromeManager --skill kotlin-exposed-patterns-hieuck

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provide practical Kotlin Exposed ORM patterns to streamline database access, reduce boilerplate, and improve maintainability across applications.

Core Features & Use Cases

  • DSL queries and DAO patterns for clean, type-safe data access with Exposed
  • Transaction management with newSuspendedTransaction and configurable isolation levels
  • HikariCP-based connection pooling for production-grade performance
  • Flyway migrations for versioned schema evolution
  • Repository pattern implementations to decouple business logic from persistence
  • JSON/JSONB support and testing with in-memory databases

Quick Start

Run the example project and its tests to observe Exposed patterns in action.

Frequently Asked Questions about kotlin-exposed-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement transaction management with Kotlin Exposed?

Implement transaction management in Kotlin Exposed using newSuspendedTransaction with configurable isolation levels to ensure robust, production-ready data access and maintain data integrity across concurrent operations.

What's the best way to structure Kotlin Exposed data access logic?

Structure Kotlin Exposed data access using the repository pattern to decouple business logic from persistence, combining DSL queries and DAO patterns for clean, type-safe database interactions.

How do I handle database schema migrations with Kotlin Exposed?

Handle database schema migrations with Kotlin Exposed by integrating Flyway for versioned schema evolution, ensuring consistent database state across different deployment environments.

Does Kotlin Exposed support connection pooling for production environments?

Kotlin Exposed supports production-grade connection pooling through HikariCP integration, enabling efficient database connection management and improved performance under high load.

Can I use Kotlin Exposed with JSON or JSONB database columns?

Kotlin Exposed provides JSON/JSONB support for type-safe data access, allowing you to store and retrieve complex structured data while maintaining query consistency.

How do I test Kotlin Exposed data access patterns?

Test Kotlin Exposed data access patterns using in-memory databases to validate repository implementations and query logic without requiring external database infrastructure.