mybatis-plus

An enhanced toolkit of Mybatis to simplify development.

License

License

Categories

Categories

MyBatis Data ORM
GroupId

GroupId

com.baomidou
ArtifactId

ArtifactId

mybatis-plus-dts
Last Version

Last Version

3.3.1.tmp
Release Date

Release Date

Type

Type

jar
Description

Description

mybatis-plus
An enhanced toolkit of Mybatis to simplify development.
Project URL

Project URL

https://github.com/baomidou/mybatis-plus
Source Code Management

Source Code Management

https://github.com/baomidou/mybatis-plus

Download mybatis-plus-dts

How to add to project

<!-- https://jarcasting.com/artifacts/com.baomidou/mybatis-plus-dts/ -->
<dependency>
    <groupId>com.baomidou</groupId>
    <artifactId>mybatis-plus-dts</artifactId>
    <version>3.3.1.tmp</version>
</dependency>
// https://jarcasting.com/artifacts/com.baomidou/mybatis-plus-dts/
implementation 'com.baomidou:mybatis-plus-dts:3.3.1.tmp'
// https://jarcasting.com/artifacts/com.baomidou/mybatis-plus-dts/
implementation ("com.baomidou:mybatis-plus-dts:3.3.1.tmp")
'com.baomidou:mybatis-plus-dts:jar:3.3.1.tmp'
<dependency org="com.baomidou" name="mybatis-plus-dts" rev="3.3.1.tmp">
  <artifact name="mybatis-plus-dts" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.baomidou', module='mybatis-plus-dts', version='3.3.1.tmp')
)
libraryDependencies += "com.baomidou" % "mybatis-plus-dts" % "3.3.1.tmp"
[com.baomidou/mybatis-plus-dts "3.3.1.tmp"]

Dependencies

compile (7)

Group / Artifact Type Version
com.baomidou : mybatis-plus-core jar 3.3.1.tmp
org.springframework.boot : spring-boot-autoconfigure jar
org.aspectj : aspectjrt Optional jar 1.9.5
org.springframework.boot : spring-boot-starter-web Optional jar
org.springframework.boot : spring-boot-starter-amqp Optional jar
org.springframework.boot : spring-boot-configuration-processor Optional jar
org.springframework.boot : spring-boot-autoconfigure-processor Optional jar

Project Modules

There are no modules declared in this project.

Mybatis-Plus-Logo

Born To Simplify Development

maven code style Join the chat at https://gitter.im/baomidou/mybatis-plus

What is MyBatis-Plus?

MyBatis-Plus is an powerful enhanced toolkit of MyBatis for simplify development. This toolkit provides some efficient, useful, out-of-the-box features for MyBatis, use it can effectively save your development time.

Links

Features

  • Fully compatible with MyBatis
  • Auto configuration on startup
  • Out-of-the-box interfaces for operate database
  • Powerful and flexible where condition wrapper
  • Multiple strategy to generate primary key
  • Lambda-style API
  • Almighty and highly customizable code generator
  • Automatic paging operation
  • SQL Inject defense
  • Support active record
  • Support pluggable custom interface
  • Build-in many useful extensions

Getting started

  • Add MyBatis-Plus dependency

    • Maven:
      <dependency>
          <groupId>com.baomidou</groupId>
          <artifactId>mybatis-plus-boot-starter</artifactId>
          <version>3.2.0</version>
      </dependency>
    • Gradle
      compile group: 'com.baomidou', name: 'mybatis-plus-boot-starter', version: '3.1.2'
  • Modify mapper file extends BaseMapper interface

    public interface UserMapper extends BaseMapper<User> {
    
    }
  • Use it

    List<User> userList = userMapper.selectList(
            new QueryWrapper<User>()
                    .lambda()
                    .ge(User::getAge, 18)
    );

    MyBatis-Plus will execute the following SQL

    SELECT * FROM user WHERE age >= 18

This showcase is just a small part of MyBatis-Plus features. If you want to learn more, please refer to the documentation.

License

MyBatis-Plus is under the Apache 2.0 license. See the Apache License 2.0 file for details.

com.baomidou

baomidou

苞米豆

Versions

Version
3.3.1.tmp
3.3.1
3.3.0
3.2.0
3.1.2
3.1.1