MyBatis plus (MP for short) is an enhancement tool of MyBatis. Based on MyBatis, only enhancements are made and no changes are made to simplify development and improve efficiency.
Mybatis plus official website address
1. Create sb project
2. Add mybatis plus dependency
<!-- Omission above sb This is web Project dependence -- ...
Posted on Fri, 08 Nov 2019 14:34:36 -0500 by Romeo20
We will analyze the whole project of common service, record the whole construction process, and let more people to learn.
First, before building the common service of spring cloud, we need to prepare the following technologies:
Maven (project construction), Spring Boot, Spring Cloud, microservice concept, decentralization idea, distribution, et ...
Posted on Wed, 06 Nov 2019 09:59:46 -0500 by dirty_n4ppy
Druid is a database connection pool.
Druid is currently the best database connection pool.
Druid is a database connection pool developed by Alibaba called monitoring.
springBoot rapid integration druid
I. introducing druid dependency into pom files
<!--Alibaba database connection pool -->
Posted on Mon, 04 Nov 2019 17:04:18 -0500 by Jude
In the Java field, there are several common schemes for data persistence, including Spring's own JdbcTemplate, MyBatis, and JPA. Among these schemes, the simplest one is Spring's own JdbcTemplate. Although this is not as convenient as MyBatis, it is much stronger than the original Jdbc. It is not as powerful as MyBatis, of course It also means ...
Posted on Sun, 03 Nov 2019 21:20:37 -0500 by iankent
I took the time to do Sharding jdbc in the past two days. In view of the fact that this part is also used in the current project (not by me), as a slag man who is obsessed with technology, how can he ignore its existence and have to do it by himself?
Start up ~
1. Create a new spring boot project and add dependency
Posted on Wed, 30 Oct 2019 14:33:10 -0400 by rockinaway
We have learned some basic development processes. The most important step is how to interact with the database. After all, without data, it is equivalent to doing nothing. In this paper, we will learn how to use springboot to integrate jdbc, mybatis, jpa and other commonly used database persistence technologies.
II. Integrate jdbc
Posted on Tue, 29 Oct 2019 03:44:50 -0400 by leszczu
Although the version of this section only uses the basic features, it can satisfy most of the additions, deletions, modifications and queries.
I. environmental preparationSpringBoot 1.5.10.RELEASEMybatis-Plus 2.1.9Official address of mybatis plus: http://mp.baomidou.com/
pom dependency. For convenience, post it all:
<project xmlns="http ...
Posted on Mon, 28 Oct 2019 04:43:12 -0400 by Lambneck
First of all, why would you like to log in automatically?
It must have a password, otherwise other people can directly access the project address + "/ druid", which is not safe;
Don't want to log in twice (don't explain);
Menu configuration path toDruid;
After jumping to the page, ajax triggers the doduid.json ...
Posted on Fri, 25 Oct 2019 16:44:53 -0400 by synking
Build a SpringBoot (I) build project and configure data sources
Create or download a pure SpringBoot Demo
https://start.spring.io custom create Download
Configure multiple data source files
Create or d ...
Posted on Thu, 24 Oct 2019 06:43:18 -0400 by drak
I. Basic development process of the companya. understand the demand information (fuzzy)The demand is not what others tell you, but what you dig out.Pre sales engineer (knowledge of the industry): poor programming, but a little understanding of the code, which requires a high level of comprehensive ability.b. Product Manager:Sort out the require ...
Posted on Tue, 22 Oct 2019 08:48:28 -0400 by brokencode