SQL Components

A modern compile-time SQL persistence framework that combines the simplicity of SQL with the productivity of code generation, enabling type-safe and high-performance database access for Java applications.


Overview

SQL Components is an open-source persistence framework designed for modern Java development. It enables developers to leverage the full power of SQL while eliminating repetitive JDBC boilerplate through compile-time code generation.

Unlike traditional ORM frameworks, SQL Components embraces SQL as a first-class citizen, providing a lightweight and transparent approach to data access while maintaining type safety and developer productivity.

Key Features

  • Compile-Time Code Generation: Generates type-safe database access components from SQL definitions.
  • SQL First Approach: Enables developers to use the full capabilities of relational databases without ORM limitations.
  • Lightweight & Performant: Minimal runtime overhead with direct database interactions.
  • Type-Safe APIs: Reduces runtime errors through compile-time validation and generated abstractions.
  • Future-Ready: Designed to evolve alongside modern Java and database technologies.
  • Unified Persistence Model: Combines the flexibility of SQL mappers with the structure and convenience of ORM frameworks.

Impact

SQL Components helps teams build database-driven applications faster by reducing boilerplate code, simplifying persistence logic, and improving maintainability. By embracing a SQL-first philosophy, it enables developers to retain full control over database interactions while benefiting from modern tooling, type safety, and automated code generation. It is particularly valuable for organizations building high-performance, data-intensive Java applications.