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-common
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-common

How to add to project

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

Dependencies

compile (5)

Group / Artifact Type Version
org.apache.commons : commons-lang3 jar 3.9
cn.hutool : hutool-all jar 5.0.7
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

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