Fun 3 minutes per day MyBatis-Plus - Configuration Environment

MyBatis-Plus (abbreviated MP) is a MyBatis enhancement tools, enhanced not only change on the basis of MyBatis, to simplify development, increase efficiency and health.

Preparation: create a spring boot project

First, configure the environment

1.1 configuration file pom.xml

  1.1.1 introduced mybatis-plus-dependent

<dependency>
  <groupId>com.baomidou</groupId>
  <artifactId>mybatis-plus-generator</artifactId>
  <version>3.3.0</version>
</dependency>

  1.1.2 mysql dependent on the introduction of

<dependency>
    <groupId>mysql</groupId>
    <artifactId>mysql-connector-java</artifactId>
</dependency>

  1.1.3 Installation lombok data plug

Do not write get, set method of

Setting->Plugins->Lombok

Next time, we explain how to use mybatis-plus single-table queries

 

No public concern: Wukong talk architecture, reply pmp, pmp receive information! Reply Wukong, to receive information architect!


Author: Wukong talk architecture 
Source: http://www.cnblogs.com/jackson0714/ 
About the author: focus on mobile development. If you have questions or suggestions, please enlighten me a lot! 
Disclaimer: This article belongs to the author and blog Park total, welcome to reprint, but without the author's consent declared by this section must be retained, and given the original article page link in the apparent position. 
Hereby declare: All comments and private messages will reply in the first time. We greatly welcome the garden also correct errors and common progress. Or direct private letter
in solidarity Bloggers: If you think the article is helpful to you, you can click on the bottom right corner of the article [Recommended] it. You are encouraged to adhere to the original author continued writing and maximum power! 

Wukong chat Architecture 

I am concerned with you a little bit of progress every day!

There are 111 books presented ~~

 

Guess you like

Origin www.cnblogs.com/jackson0714/p/study-mybatis-plus1.html