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
Last Version

Last Version

1.0.5-RELEASE
Release Date

Release Date

Type

Type

pom
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
Source Code Management

Source Code Management

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

Download mybatis-max

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
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

  • mybatis-max-common
  • mybatis-max-core
  • mybatis-max-boot-starter

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