Mybatis generator automatically generates code and integrates swaggerui
Introduce dependency:
<!-- MyBatis generator -->
<dependency>
<groupId>org.mybatis.generator</groupId>
<artifactId>mybatis-generator-core</artifactId>
<version>1.3.7</version>
</dependency>
<!--Mysql Database driven-->
<depend ...
Added by JamesyBHOY on Sat, 14 Mar 2020 16:25:58 +0200
[SpringBoot] data persistence: mybatis uses
If you eat when you are hungry, sleep when you are sleepy, drink when you are thirsty, life will be boringSource address: https://github.com/keer123456789/springbootstudy/tree/master/mybatisdemo
1. Project configuration
1.1 maven dependency configuration
It mainly depends on mysql and mybatis. Pa ...
Added by jsscart on Mon, 09 Mar 2020 05:23:39 +0200
The fourth part of Mybatis series: details of Mybatis
primary coverage
1. Getting started
Preparing the database
Our needs
Using idea to create a project
Introducing mybatis dependency in pom.xml
Configure mybatis global profile
Create Mapper xml file
Mapper xml file in mybatis global configuration file
Building S ...
Added by DarkHavn on Sun, 08 Mar 2020 05:40:58 +0200
SpringBoot graphic tutorial 8 - SpringBoot integrated MBG "code generator"
If there is the concept of flying in the sky, there must be the realization of landing
Ten times of concept is not as good as one time of code. Friend, I hope you can type all the code cases in this article
Praise before you see, form a habit
Spring boot text tutorial series article directory
Spring boot picture and text tutorial 1 &q ...
Added by nonexistence on Sun, 01 Mar 2020 14:22:18 +0200
MyBatis entry instance (select)
Development environment: Idea2018
Database: mysql 8.0.16
Purpose: to learn Mybatis
Database preparation
This instance uses mysql 8.0.16, user name root and password 123456
To create a database and create a test form:
/*Create database*/
CREATE DATABASE tms default character set utf8;
/*Create data ...
Added by skope on Sat, 29 Feb 2020 06:12:48 +0200
Mybatis learning - create a mybatis project and connect to mysql
MyBatis avoids almost all JDBC code and manual setting of parameters and getting result sets. But the cost is to need tedious configuration, but these configurations are almost the same, but they are very complex. With the help of plug-ins, you can write configuration files more easily, or record the co ...
Added by slough on Mon, 24 Feb 2020 13:57:58 +0200
Java implementation of restaurant ordering system
1. Background of ordering management system
With the development of science and technology, going to a restaurant for a meal and checking out are all done online.
a. Compared with the current systems, this system has table management, cuisine management, dish name management, order management, order d ...
Added by mazman13 on Fri, 14 Feb 2020 09:31:41 +0200
SSM employee management system development-1
Recently I learned the integrated development of SSM framework. Now I try to develop an employee management system by myself. I hope I can skillfully use SSM framework in the process of writing BUG.
The development of B/S end is adopted in this system, and the tools used are ideas, 019, navicat and mysq ...
Added by DJ_CARO on Mon, 10 Feb 2020 17:30:41 +0200
Rest microservice building case engineering module
General introduction
1. Next, our spring MVC + mybatis + MySQL elementary and advanced course takes the Dept Department module as a general case of microservice
Consumer consumer consumer (Client) calls the service provided by Provider provider (Server) through REST
2. Review of Maven's subcontract mo ...
Added by bsteimel on Thu, 06 Feb 2020 15:53:27 +0200
MyBatis configuring dynamic SQL statements
MyBatis configuring dynamic SQL statements
In the SQL mapping file of MyBatis, sometimes you need to select different SQL statements according to some query conditions. If you rewrite SQL in every scenario, it's obvious that the efficiency is not very high, and the dynamic SQL of MyBatis solves this problem well. The dynamic SQL of MyBatis pro ...
Added by mpf on Thu, 06 Feb 2020 12:37:02 +0200