Mybatis Plus custom IService and BaseMapper

Mybatis Plus custom IService and BaseMapper 1, Why did you study this thing Recently, I was independently responsible for the service R & D of a java module of innovative business in the company. When building the project, I chose Mybatis Plus to do the work of database Dao layer. Although it's not the first time I've contacted Mybatis Pl ...

Added by firepages on Wed, 01 Dec 2021 14:45:19 +0200

MySQL notes | 9. How does order by work?

preface In every business function, there is always a need to sort by time or by other fields. When we think of sorting, we will think of order by in MySQL. In the process of use, will there be unreasonable use, resulting in the decline of query speed? text To avoid full table queries, we usually add an index to the order by field, which is ...

Added by bluebyyou on Wed, 01 Dec 2021 01:21:14 +0200

mysql index and transaction details

catalogue 1, Introduction to mysql index 1. The concept of index 2. Basic principles of index creation 3. Index creation and classification 1. General index 2. Unique index 3. Primary key index 4. Combined index (single column index and multi column index) 5. Full text index (FULLTEXT) 4. View index 5. Delete index 2, Introduction t ...

Added by siri on Tue, 30 Nov 2021 14:16:22 +0200

Dubbo source code analysis - the whole process of sending requests by consumers

preface: Previous articles have combed the whole process from front to back in terms of call structure. This article analyzes the whole process from the perspective of actual combat call. Before it was abstract, now it is actual combat. 1. Example code The code is the same as before. I'll post it here again 1.1 provider public class Pro ...

Added by altergothen on Tue, 30 Nov 2021 06:51:17 +0200

Answer #11: what is the difference between char and varchar in MySQL

Answer #11: what is the difference between char and varchar in MySQL1. Experimental scenarioGreatSQL 8.0.25 InnoDB2. Experimental test2.1 differencesparametercharvarcharIs the length variableFixed lengthLengthenstorage capacity 0 ~ 2550 ~ 65,5352.2 construction test tableCREATE TABLE vc (v VARCHAR(4), c CHAR(4));2.3 test without exceeding the s ...

Added by benphp on Mon, 29 Nov 2021 08:47:03 +0200

SQL training camp -- Task06: comprehensive exercises - 10 classic questions

This note is the learning content of Alibaba cloud Tianchi Longzhu plan SQL training camp. The link is: https://tianchi.aliyun.com/specials/promotion/aicampsql preface This note is the learning content of Alibaba cloud Tianchi Longzhu plan SQL training camp. The link is: https://tianchi.aliyun.com/specials/promotion/aicampsql Dataset ...

Added by deregular on Sun, 28 Nov 2021 15:28:26 +0200

Four installation and deployment methods of database

Database installation Experimental environment Redhat8.3 Method 1: use the MySQL repository to install and deploy mysql 1, Add MySQL repository Add the MySQL Yum repository to the repository list of the system. This is a one-time operation that can be performed by installing the RPM provided by mysql. Follow these steps: Go to th ...

Added by Dragoa on Sun, 28 Nov 2021 15:11:38 +0200

Architect Essentials: Smart use of Canal for asynchronous, decoupled architecture

This paper describes how to use Canal to implement an asynchronous and decoupled architecture. Subsequent articles will be rewritten to analyze Canal principles and source code. Introduction to Canal Canal is the middleware used to get database changes. Fake yourself as a MySQL slave library, pull the master binlog and parse and process it. Pro ...

Added by psyqosis on Sat, 27 Nov 2021 05:06:03 +0200

mysql relational database generates a tree structure, and the Layui page renders the tree structure diagram (detailed)

#Foreword The technologies used in the project related to this article: Layui, Mysql; In the project, you need to use a tree structure to display some data. It is found by consulting the relevant data of the tree view The tree view has strict requirements on the format of data, not only id, parent node and child node, but also the hierar ...

Added by NZ_Kiwis on Sat, 27 Nov 2021 04:51:59 +0200

MySQL Base_ 4_ Subquery

! Description: In the last 5 days, I have read the basic MySQL chapters of Master Kang of Shangxi Valley (forcing JVM) and shared some notes, mark, mark! 1. Subqueries A subquery is a query whose statement is nested within another query statementUse Attention Subqueries need to be enclosed in parenthesesPlace subqueries to the right of the ...

Added by Masterchief07 on Wed, 24 Nov 2021 20:39:31 +0200