awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
gaarason avatar

gaarason/database-all

0
View on GitHub↗
1,033 stars·27 forks·Java·MIT·29 views

Database All

This project is a Java-based object-relational mapping framework that utilizes the active record pattern to simplify database interactions. It provides a comprehensive data access layer that binds database tables directly to application objects, enabling developers to perform CRUD operations, manage complex entity relationships, and execute queries through a fluent, type-safe interface. Designed for integration with Spring Boot, the framework abstracts database complexities while maintaining support for native compilation and asynchronous execution.

The framework distinguishes itself through advanced connection management and lifecycle control. It features built-in read-write splitting and request routing to optimize performance and support multi-tenant architectures. Developers can define granular lifecycle hooks that trigger custom logic during persistence, with support for deferred execution to ensure data consistency after transaction commits. Additionally, the system includes dialect-aware SQL generation that automatically adapts to different database engines, alongside tools for generating entity classes directly from existing database schemas.

Beyond core mapping and querying, the library offers extensive utilities for data manipulation and performance optimization. It supports global query scopes, polymorphic associations, and soft deletion patterns to handle complex domain requirements. The framework also provides robust collection transformation and aggregation tools, allowing for efficient data processing and pagination directly within the application layer.

Features

  • CRUD Operations - Provides a comprehensive interface for performing CRUD operations on database records with protection against accidental mass updates.
  • Object-Relational Mapping Frameworks - Maps relational database tables to Java objects using annotations to simplify data interaction and persistence.
  • Active Record Mappers - Provides an active record implementation that binds database records directly to object-oriented models for simplified data access.
  • Spring Boot Database Access - Integrates database operations into Spring Boot applications with support for lifecycle events and transaction management.
  • Fluent Query Construction - Constructs complex database queries using a type-safe fluent interface that handles joins and filtering automatically.
  • Fluent Query Builders - Provides a chainable, fluent interface for constructing complex database queries with automatic parameter binding.
  • Active-Record ORMs - Implements the active record pattern where models encapsulate data access logic and CRUD operations.
  • Relational Association Management - The product updates, removes, or synchronizes associations between records by managing foreign keys or intermediate join table entries.
  • Entity Association Annotations - Uses mapping annotations to establish one-to-one, one-to-many, and many-to-many relationships between database models.
  • Schema Mappings - Uses class annotations to define mappings between application object fields and underlying database table structures.
  • Java Frameworks - Provides a fluent object-relational mapping library for Java and Spring Boot that simplifies database interactions.
  • Asynchronous Database Command Execution - Executes database operations in a background thread pool with automatic fallback to synchronous mode during active transactions.
  • Query Result Pagination - Provides built-in pagination logic to retrieve large database result sets in smaller, manageable chunks for efficient memory usage.
  • Data Source Routing - Directs database queries to specific storage instances or shards based on runtime logic to support multi-tenancy.
  • Complex Data Type Mappings - Converts complex types to database-compatible formats during serialization, supporting custom logic and bitwise operations.
  • Database Dialects - Detects the underlying database engine and automatically adjusts SQL syntax for pagination, upserts, and identifier quoting.
  • Database Object Synchronizations - Updates local object state with current data from the database to ensure consistency after persistence operations.
  • Database Query Builders - Provides a fluent API for constructing type-safe SQL queries with support for multiple database dialects.
  • Query Scopes - Defines reusable query constraints within model definitions to enforce consistent data access rules across lookups.
  • Model Table Mappings - Maps database tables to objects by extending a base model class and configuring data source connections.
  • Object-Relational Mapping - Converts database result sets into objects, maps, or custom lists to facilitate data manipulation.
  • Polymorphic Associations - Supports polymorphic associations that allow a single model to link to multiple target types using type and ID keys.
  • Raw SQL Execution - Allows execution of custom SQL queries directly against the database with secure parameter binding.
  • Read and Write Splitting - Distributes database traffic across primary and replica nodes based on query intent to optimize performance.
  • Read-Write Splitting - Automatically distributes database operations across primary and replica sources based on query type to optimize performance.
  • Eager Loading - The product fetches associated records alongside primary query results to minimize database round-trips and simplify data retrieval.
  • Polymorphic Relations - Manages complex entity associations including one-to-many, many-to-many, and polymorphic links with efficient data loading.
  • Soft Deletion - Marks records as deleted using status flags instead of physical removal to support data recovery.
  • Dialect-Specific SQL Generation - Automatically translates abstract query requests into SQL syntax tailored to specific database engines and versions.
  • Lifecycle Event Hooks - Executes custom logic at specific points during database operations to handle tasks before or after record persistence.
  • Entity Definition Generators - Automates the generation of type-safe entity classes directly from existing database schema definitions.
  • Asynchronous Task Orchestration - Manages database operations using background thread pools to maintain application responsiveness while supporting synchronous transaction modes.
  • Lifecycle Event Hooks - Executes custom logic at specific stages of the record persistence lifecycle to automate validation and state synchronization.
  • Multi-Database Routing - Routes database queries to specific data sources or read-write replicas to support scalable and multi-tenant architectures.
  • Spring Boot Integrations - Provides a database abstraction layer designed for seamless integration with Spring Boot applications.
  • Transaction-Aware Event Execution - Ensures lifecycle event handlers only execute after a database transaction has successfully committed to prevent processing rolled-back data.

Star history

Star history chart for gaarason/database-allStar history chart for gaarason/database-all

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Database All

These projects share indexed features with Database All. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • go-xorm/xormgo-xorm avatar

    go-xorm/xorm

    6,628View on GitHub↗

    xorm is a relational mapper and object-relational mapping tool for Go. It translates Go structures into SQL queries and maps database rows back into native objects, providing a multi-dialect database driver that supports MySQL, PostgreSQL, SQLite, Oracle, SQL Server, and TiDB. The project features a read-write splitting manager that routes modification requests to a primary database and read requests to replicas. It includes a database schema synchronizer to automatically align table structures and indexes with application data models, as well as a fluent SQL query builder for constructing co

    Gogolangmssqlmysql
    View on GitHub↗6,628
  • dotnetcore/freesqldotnetcore avatar

    dotnetcore/FreeSql

    4,388View on GitHub↗

    FreeSql is a .NET object-relational mapper and data access layer that translates object-oriented code into SQL for multiple relational database providers. It functions as a fluent SQL query builder and database schema synchronizer, allowing developers to align database table and index structures with entity class definitions. The framework is specifically optimized for .NET Native AOT to ensure reduced memory footprints and faster startup times. It includes a database traffic manager to distribute load through read-write splitting, dynamic table sharding, and tenant-based data isolation. Bro

    C#accessclickhousecodefirst
    View on GitHub↗4,388
  • codeigniter4/codeigniter4codeigniter4 avatar

    codeigniter4/CodeIgniter4

    5,924View on GitHub↗

    CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web applications. It provides a lightweight toolkit with minimal configuration, organizing application logic into controllers, models, and views for clean separation of concerns. The framework includes a fluent query builder for constructing SQL statements programmatically, PSR-4 autoloading with namespace mapping, and a service-based dependency injection container for managing shared class instances. The framework distinguishes itself through its comprehensive set of built-in tools

    PHPcodeignitercodeigniter4framework-php
    View on GitHub↗5,924
  • uptrace/bunuptrace avatar

    uptrace/bun

    4,867View on GitHub↗

    Bun is a type-safe object relational mapper for Go that prioritizes SQL-first query construction and result mapping. It functions as a programmable SQL query builder, a database connection manager, and a tool for mapping database tables to Go structs. The project distinguishes itself through a multi-dialect SQL support system, allowing a single codebase to interact with different database engines via a consistent interface. It includes a built-in database observability tool for query interception, distributed tracing, and logging, as well as a schema migration tool for versioning structural c

    Godatabasegogolang
    View on GitHub↗4,867
Compare all 30 related projects→

Frequently asked questions

What does gaarason/database-all do?

This project is a Java-based object-relational mapping framework that utilizes the active record pattern to simplify database interactions. It provides a comprehensive data access layer that binds database tables directly to application objects, enabling developers to perform CRUD operations, manage complex entity relationships, and execute queries through a fluent, type-safe interface. Designed for integration with Spring Boot, the framework abstracts database complexities…

What are the main features of gaarason/database-all?

The main features of gaarason/database-all are: CRUD Operations, Object-Relational Mapping Frameworks, Active Record Mappers, Spring Boot Database Access, Fluent Query Construction, Fluent Query Builders, Active-Record ORMs, Relational Association Management.

Which projects share features with gaarason/database-all?

Projects with overlapping indexed features include: go-xorm/xorm — xorm is a relational mapper and object-relational mapping tool for Go. It translates Go structures into SQL queries… dotnetcore/freesql — FreeSql is a .NET object-relational mapper and data access layer that translates object-oriented code into SQL for… codeigniter4/codeigniter4 — CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web… uptrace/bun — Bun is a type-safe object relational mapper for Go that prioritizes SQL-first query construction and result mapping.… goravel/goravel — Goravel is a full-featured development scaffold and framework for building web applications, REST APIs, and gRPC… mongodb/laravel-mongodb — This project is a MongoDB database driver and object-relational mapper that brings MongoDB support to the Laravel…

Curated searches featuring Database All

Hand-picked collections where Database All appears.
  • Java ORM Libraries