awesome-repositories.com
Blog
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
·
abel533 avatar

abel533/Mapper

0
View on GitHub↗
7,370 Stars·1,604 Forks·Java·MIT·5 Aufrufemybatis.io↗

Mapper

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 example object query builder constructs dynamic WHERE clauses by introspecting populated fields on a plain Example object, avoiding string concatenation. The generic base mapper pattern defines a parameterised base interface with common CRUD methods that concrete mappers inherit, eliminating repetitive method declarations. Developers can also register mapper interfaces automatically through annotations, extend base interfaces with custom methods, and replace default entity-to-table mapping logic with custom implementations.

Beyond its core identity, Mapper supports property-based queries that retrieve records based on specific entity property values, and provides code generation tools that produce mapper interfaces and model classes from database schema metadata. The library's configuration surface includes automatic mapper registration and customisable entity-to-table mapping resolution.

Features

  • MyBatis - Provides single-table create, read, update, and delete operations on database tables without writing XML or SQL.
  • CRUD Operations - Executes common create, read, update, and delete operations on a single database table without writing SQL or XML.
  • Dangerous Operation Guards - Intercepts delete and update calls to verify query conditions exist, preventing accidental full-table modifications.
  • Generic Base Mapper Interfaces - Provides a parameterised base mapper interface with common CRUD methods for inheritance.
  • Example-Based WHERE Clauses - Builds dynamic WHERE clauses by populating fields on a plain Example object.
  • Annotation-Based Key Strategies - Configures primary key generation strategies through custom annotations on entity fields.
  • Annotation-Based Key Generation - Provides annotation-based primary key generation strategy configuration on entity fields.
  • Annotation-Based Key Strategies - Configures primary key generation strategies through custom annotations on entity fields.
  • State Update Race Condition Prevention - Blocks delete and update calls lacking query conditions to prevent accidental full-table modifications.
  • Example Object Database Queries - Builds dynamic WHERE clauses by populating fields on a plain Example object.
  • Object Mappings - Declares how Java fields correspond to table columns, primary keys, and generation strategies through annotations.
  • Example Object Query Builders - Builds dynamic WHERE clauses by populating fields on a plain Example object, avoiding hand-written SQL.
  • Example Object WHERE Clauses - Builds dynamic WHERE clauses by introspecting populated fields on a plain Example object.
  • Annotation-Driven Mappings - Declares how Java fields correspond to table columns, primary keys, and generation strategies through annotations.
  • Reflection-Based Mappings - Uses Java reflection at runtime to read entity annotations and build SQL statements dynamically.
  • Mapper Interface Generators - Generates mapper interfaces and model classes from entity annotations and database schemas.
  • Guarded - Blocks delete calls that lack query conditions, throwing an exception to avoid accidental full-table deletion.
  • Entity Property Queries - Retrieves database records based on specific entity property values without writing SQL.
  • Guarded - Blocks update calls that lack query conditions, throwing an exception to avoid accidental full-table updates.
  • Mapper Code Generators - Generates mapper interfaces and model classes from database schemas to eliminate boilerplate.
  • MyBatis Mapper Code Generators - Generates mapper interfaces and model classes from database schemas for MyBatis projects.
  • MyBatis Mapper Generators - Generates mapper interfaces and model classes from database schemas to eliminate repetitive boilerplate code.

Star-Verlauf

Star-Verlauf für abel533/mapperStar-Verlauf für abel533/mapper

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

Open-Source-Alternativen zu Mapper

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Mapper.
  • mybatis/generatorAvatar von mybatis

    mybatis/generator

    5,317Auf GitHub ansehen↗

    MyBatis Generator is a tool that inspects database tables to automatically produce model objects, mapper interfaces, and SQL configuration files. It functions as a database schema mapper and CRUD operation generator, translating relational database columns into language-specific classes and records. The project is an extensible code generator that allows for the customization of output files through a plugin mechanism. This framework enables the addition of specific business logic or the modification of the generation process to produce tailored output files. The generator covers a broad ran

    Javacode-generatorjava-8kotlin
    Auf GitHub ansehen↗5,317
  • zouzg/mybatis-generator-guiAvatar von zouzg

    zouzg/mybatis-generator-gui

    6,683Auf GitHub ansehen↗

    This project is a Java persistence generator and database mapping tool designed to produce boilerplate persistence layer code. It translates database schemas and column comments into structured Java annotations and mapping files, replacing the need for manual configuration writing. The tool provides a visual interface for generating code and manages secure database access through SSH tunneling. It allows users to connect to private databases via encrypted tunnels to safely extract schemas without exposing the database to the public internet. The system includes capabilities for database sche

    Java
    Auf GitHub ansehen↗6,683
  • 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
  • spring-projects/spring-data-elasticsearchAvatar von spring-projects

    spring-projects/spring-data-elasticsearch

    2,959Auf GitHub ansehen↗

    Spring Data Elasticsearch is a data access library that maps Java objects to Elasticsearch indices. It functions as an object mapper, a repository abstraction, and a query DSL wrapper, providing both a standard and a reactive client for executing asynchronous search and persistence operations. The project distinguishes itself by automating data access through repository interfaces, which generate query logic based on method naming conventions. It enables the construction of complex search queries using a domain-specific language and supports advanced search capabilities such as vector similar

    Java
    Auf GitHub ansehen↗2,959
Alle 30 Alternativen zu Mapper anzeigen→

Häufig gestellte Fragen

Was macht abel533/mapper?

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.

Was sind die Hauptfunktionen von abel533/mapper?

Die Hauptfunktionen von abel533/mapper sind: MyBatis, CRUD Operations, Dangerous Operation Guards, Generic Base Mapper Interfaces, Example-Based WHERE Clauses, Annotation-Based Key Strategies, Annotation-Based Key Generation, State Update Race Condition Prevention.

Welche Open-Source-Alternativen gibt es zu abel533/mapper?

Open-Source-Alternativen zu abel533/mapper sind unter anderem: mybatis/generator — MyBatis Generator is a tool that inspects database tables to automatically produce model objects, mapper interfaces,… zouzg/mybatis-generator-gui — This project is a Java persistence generator and database mapping tool designed to produce boilerplate persistence… go-xorm/xorm — xorm is a relational mapper and object-relational mapping tool for Go. It translates Go structures into SQL queries… spring-projects/spring-data-elasticsearch — Spring Data Elasticsearch is a data access library that maps Java objects to Elasticsearch indices. It functions as an… ebean-orm/ebean — Ebean is a Java object-relational mapping framework designed to simplify database persistence through automated query… wemobiledev/article — This repository is a collection of technical knowledge and solutions focused on mobile application development,…