mybatis-max

Mybatis-Max is an automatic injection SQL toolkit based on Mybatis.

License

License

Categories

Categories

MyBatis Data ORM
GroupId

GroupId

cloud.gouyiba
ArtifactId

ArtifactId

mybatis-max-boot-starter
Last Version

Last Version

1.0.5-RELEASE
Release Date

Release Date

Type

Type

jar
Description

Description

mybatis-max
Mybatis-Max is an automatic injection SQL toolkit based on Mybatis.
Project URL

Project URL

https://github.com/gouyiba/mybatis-max
Project Organization

Project Organization

Gouyiba Group

Download mybatis-max-boot-starter

How to add to project

<!-- https://jarcasting.com/artifacts/cloud.gouyiba/mybatis-max-boot-starter/ -->
<dependency>
    <groupId>cloud.gouyiba</groupId>
    <artifactId>mybatis-max-boot-starter</artifactId>
    <version>1.0.5-RELEASE</version>
</dependency>
// https://jarcasting.com/artifacts/cloud.gouyiba/mybatis-max-boot-starter/
implementation 'cloud.gouyiba:mybatis-max-boot-starter:1.0.5-RELEASE'
// https://jarcasting.com/artifacts/cloud.gouyiba/mybatis-max-boot-starter/
implementation ("cloud.gouyiba:mybatis-max-boot-starter:1.0.5-RELEASE")
'cloud.gouyiba:mybatis-max-boot-starter:jar:1.0.5-RELEASE'
<dependency org="cloud.gouyiba" name="mybatis-max-boot-starter" rev="1.0.5-RELEASE">
  <artifact name="mybatis-max-boot-starter" type="jar" />
</dependency>
@Grapes(
@Grab(group='cloud.gouyiba', module='mybatis-max-boot-starter', version='1.0.5-RELEASE')
)
libraryDependencies += "cloud.gouyiba" % "mybatis-max-boot-starter" % "1.0.5-RELEASE"
[cloud.gouyiba/mybatis-max-boot-starter "1.0.5-RELEASE"]

Dependencies

compile (7)

Group / Artifact Type Version
cloud.gouyiba : mybatis-max-core jar 1.0.5-RELEASE
org.springframework.boot : spring-boot-autoconfigure jar 2.2.2.RELEASE
org.springframework.boot : spring-boot-configuration-processor Optional jar 2.2.2.RELEASE
org.springframework.boot : spring-boot-starter-jdbc jar 2.2.2.RELEASE
org.projectlombok : lombok Optional jar 1.18.10
org.slf4j : slf4j-api Optional jar 1.7.25
com.github.ulisesbocchio : jasypt-spring-boot-starter Optional jar 2.1.0

test (3)

Group / Artifact Type Version
ch.qos.logback : logback-classic jar 1.2.3
mysql : mysql-connector-java jar 8.0.18
org.springframework.boot : spring-boot-starter-test jar 2.2.2.RELEASE

Project Modules

There are no modules declared in this project.

MyBatis-Max

Maven Central GitHub release License Gitpod Ready-to-Code Issues

What is MyBatis-Max?

Mybatis Max is to simplify and solve the tedious development work of the data layer based on Mybatis, greatly improve the development efficiency, and enable developers to focus on the implementation of the Service business, and do not need to spend too much energy on the development of the data layer.

Get Step

  • Add MyBatis-Max dependency

    • Maven:
      <dependency>
          <groupId>cloud.gouyiba</groupId>
          <artifactId>mybatis-max-boot-starter</artifactId>
          <version>1.0.5-RELEASE</version>
      </dependency>
    • Gradle:
      compile group: 'cloud.gouyiba', name: 'mybatis-max-boot-starter', version: '1.0.5-RELEASE'
  • Modify mapper file(extends BaseMapper interface)

    public interface AccountMapper extends BaseMapper<Account> {
    
    }
  • Use it

    • Example Code:
      @Resource
      private AccountMapper accountMapper;
      
      public void getMybatisMaxFunction() {
          accountMapper.selectById();
          
          accountMapper.selectOne();
          
          accountMapper.insert();
          
          accountMapper.update();
          
          accountMapper.updateById();
          
          accountMapper.delete();
          
          // accountMapper.method()......
      }
    • All the injection methods provided in BaseMapper are accessible through an AccountMapper agent instance

Dependency

Please see this [China Maven Download Page] for more repository infos.

Welcome

We invite interested people to join our gouyiba development team communicate together and let us know by sending an issue.

License

MyBatis-Max is released under the Apache 2.0 license.

Versions

Version
1.0.5-RELEASE
1.0.4-RELEASE
1.0.3-RELEASE