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

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
mybatis avatar

mybatis/generator

0
View on GitHub↗
5,317 Stars·2,483 Forks·Java·Apache-2.0·11 Aufrufewww.mybatis.org/generator↗

Generator

MyBatis Generator ist ein Tool, das Datenbanktabellen inspiziert, um automatisch Modellobjekte, Mapper-Schnittstellen und SQL-Konfigurationsdateien zu erstellen. Es fungiert als Datenbank-Schema-Mapper und CRUD-Operations-Generator, der relationale Datenbankspalten in sprachspezifische Klassen und Datensätze übersetzt.

Das Projekt ist ein erweiterbarer Codegenerator, der die Anpassung von Ausgabedateien durch einen Plugin-Mechanismus ermöglicht. Dieses Framework erlaubt das Hinzufügen spezifischer Geschäftslogik oder die Modifikation des Generierungsprozesses, um maßgeschneiderte Ausgabedateien zu erzeugen.

Der Generator deckt ein breites Spektrum an Funktionen ab, einschließlich der Implementierung dynamischer Abfragen, der Erstellung unveränderlicher Modelle und der Automatisierung von Standard-Create-, Read-, Update- und Delete-Operationen. Er unterstützt Datenbank-Schema-Mapping mit virtuellen Primärschlüsseln und kann Code für mehrere Sprachen generieren, einschließlich Kotlin.

Der Generierungsprozess kann über CLI-Tools, direkte Funktionsaufrufe oder als Build-Tool-Plugin, das in CI-Pipelines integriert ist, ausgeführt werden.

Features

  • Database Schema Code Generators - Produces source files and XML configurations by inspecting database table metadata and column definitions.
  • MyBatis Mapper Code Generators - Automatically creates MyBatis model objects and mapper interfaces by inspecting database tables.
  • Column Mappings - Translates database columns into specific language field names and types.
  • CRUD Operations - Executes standard create, read, update, and delete table operations using a lightweight interface.
  • Dynamic Query Generation - Generates flexible search filters and conditional SQL logic without manual static query writing.
  • CRUD Interfaces - Produces the standard interfaces and SQL required to perform CRUD operations on database tables.
  • Database Schema Mapping - Translates database columns into programming language types and naming conventions.
  • Language-Specific Model Generation - Inspects database tables to automatically create language-specific classes and records.
  • Dialect-Specific SQL Generation - Translates database-specific data types and identity key behaviors into compatible language-specific fields and queries.
  • Data Access Layer Generators - Creates model objects and configuration files based on database tables to automate data operations.
  • Database Access Code Generators - Inspects database tables to automatically create the objects and configuration files needed for data operations.
  • Plugin-Based Extensibility - Allows external components to modify the generation process or inject custom code into the final output via a plugin mechanism.
  • Mapper Code Generators - Inspects database tables to automatically create model objects, mapper interfaces, and configuration files.
  • Database Access Object Generators - Creates objects and configuration files based on database table inspection to automate data access operations.
  • Dynamic SQL Generators - Creates complex database filter conditions using functional logic to generate flexible search results without writing static query classes.
  • Virtual - Assigns primary key behavior to columns via configuration when the underlying database lacks formal primary key constraints.
  • Row Field Updates - Modifies only non-null record columns during a save operation to preserve default database values for omitted fields.
  • Typesafe Kotlin Code Generators - Produces idiomatic Kotlin data classes and access code for database structures.
  • Mapper Interface Generators - Creates database mappers using language annotations instead of external configuration files.
  • Plugin-Extensible Code Generation Pipelines - Allows customization of the generation process and output files through a plugin mechanism.
  • Code Generation Templates - Creates model classes and mapper interfaces by populating predefined structures based on the extracted database schema.
  • Source Code Mergers - Combines newly generated code with existing source files while preserving manual modifications and specific code blocks.
  • Build Tool Integrations - Integrates the code generation process into standard build tools and CI pipelines.
  • Build Tool Integrations - Provides a plugin that integrates code generation into project build cycles.
  • Generated File Merging - Combines new configuration files with existing versions without overwriting manual changes.
  • Source File Merging - Combines new generated source code into existing files while preserving specific structures.
  • Immutable Model Generation - Creates immutable objects or records to represent database tables using builder patterns.
  • Generator Extension Plugins - Creates custom plugins to modify the generation process or add new output files to the project.
  • Code Generation Plugins - Modifies the behavior of generated files using a plugin mechanism to add specific logic or structures.

Star-Verlauf

Star-Verlauf für mybatis/generatorStar-Verlauf für mybatis/generator

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Kuratierte Suchen mit Generator

Handverlesene Sammlungen, in denen Generator vorkommt.
  • Generatoren für SQL-Schema-Typen

Open-Source-Alternativen zu Generator

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Generator.
  • abel533/mapperAvatar von abel533

    abel533/Mapper

    7,370Auf GitHub ansehen↗

    Mapper is a MyBatis-specific library that provides annotation-driven object-relational mapping, enabling single-table CRUD operations without writing SQL or XML. It uses Java reflection and field-level annotations to map entity fields to database columns, configure primary key generation strategies, and generate mapper interfaces and model classes from database schemas. The library distinguishes itself through several practical capabilities. It includes a safe operation guard that blocks delete and update calls lacking query conditions, preventing accidental full-table modifications. Its exam

    Javamappermybatismybatis-plugin
    Auf GitHub ansehen↗7,370
  • go-xorm/xormAvatar von go-xorm

    go-xorm/xorm

    6,628Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗6,628
  • dotnetcore/freesqlAvatar von dotnetcore

    dotnetcore/FreeSql

    4,388Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗4,388
  • aarondl/sqlboilerAvatar von aarondl

    aarondl/sqlboiler

    6,989Auf GitHub ansehen↗

    sqlboiler is a database-first ORM generator for Go that analyzes an existing database schema to produce strongly typed structures and query helpers. It functions as a schema-driven code generator, transforming database tables and relationships into executable Go source code. The project distinguishes itself through a type-safe query builder that uses chainable modifiers to construct SQL statements, eliminating the need for raw string concatenation. It utilizes customizable text templates to generate source code, allowing for the aliasing of schema entities and the creation of custom templates

    Godatabasegogolang
    Auf GitHub ansehen↗6,989
Alle 30 Alternativen zu Generator anzeigen→

Häufig gestellte Fragen

Was macht mybatis/generator?

MyBatis Generator ist ein Tool, das Datenbanktabellen inspiziert, um automatisch Modellobjekte, Mapper-Schnittstellen und SQL-Konfigurationsdateien zu erstellen. Es fungiert als Datenbank-Schema-Mapper und CRUD-Operations-Generator, der relationale Datenbankspalten in sprachspezifische Klassen und Datensätze übersetzt.

Was sind die Hauptfunktionen von mybatis/generator?

Die Hauptfunktionen von mybatis/generator sind: Database Schema Code Generators, MyBatis Mapper Code Generators, Column Mappings, CRUD Operations, Dynamic Query Generation, CRUD Interfaces, Database Schema Mapping, Language-Specific Model Generation.

Welche Open-Source-Alternativen gibt es zu mybatis/generator?

Open-Source-Alternativen zu mybatis/generator sind unter anderem: abel533/mapper — Mapper is a MyBatis-specific library that provides annotation-driven object-relational mapping, enabling single-table… 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… aarondl/sqlboiler — sqlboiler is a database-first ORM generator for Go that analyzes an existing database schema to produce strongly typed… mevdschee/php-crud-api — This project is a PHP SQL REST API generator and database API wrapper that automatically transforms SQL database… prest/prest — PostgREST is a tool that automatically transforms a PostgreSQL database schema into a production-ready RESTful API. It…