easybest / spring-data-mybatis

Simplifies the development of creating a MyBatis-based data access layer.
https://sdm.easybest.io
Apache License 2.0
237 stars 73 forks source link
mybatis spring-data spring-data-mybatis


The primary goal of the Spring Data project is to make it easier to build Spring-powered applications that use data access technologies.

This module deals with enhanced support for MyBatis based data access layers. This module does not make any modifications to MyBatis. Non-invasive enhancement of MyBatis functionality by using the pre-compiled MyBatis Mapper Statement mode take developers more flexibility. At the same time, you can use the Spring Data pattern to reduce the amount of code and improve development efficiency.

To put it bluntly, it is to help you automatically generate the Mapper files in advance, all the SQLs are ready, and then, the essence is still MyBatis. Developers who use MyBatis no longer need to envy Spring Data JPA and the like ^_^

Useful Links

Features

Quick Start

Installation

Maven


<dependency>
    <groupId>io.easybest</groupId>
    <artifactId>spring-data-mybatis</artifactId>
    <version>2.1.0</version>
</dependency>

In Spring Boot, use the following starter directly:


<dependency>
    <groupId>io.easybest</groupId>
    <artifactId>spring-data-mybatis-starter</artifactId>
    <version>2.1.0</version>
</dependency>

Gradle

implementation('io.easybest:spring-data-mybatis:2.1.0')

In Spring Boot, use the following starter directly:

implementation('io.easybest:spring-data-mybatis-starter:2.1.0')

Contributing

Here are some ways for you to get involved in the community:

Getting Help

Here is a reference documentation to help you learn Spring Data Mybatis quickly.

If you have any questions or suggestions, you can record an issue.

In addition, you can also add a QQ group to conduct related discussions and seek some help.

QQ Group 1: 497907039

Donation

paypal