Use of code generator for mybatis - AutoGenerator
I have used a lot of code generators before. Here I record two commonly used code generators.
1, AutoGenerator
AutoGenerator is a self-contained code generator of mybatis plus. It is very powerful and can directly generate all table structures of the database at one time. However, each new table needs to overwrite the previously generated cod ...
Added by seaten on Thu, 09 Dec 2021 17:04:13 +0200
Introduction to Activiti7
Hello, everyone, I'm your CodeWorld. I'm busy recently. I haven't updated the article for a long time. Today, I'll give you a teaching of Activiti7Don't say much, go straight to theOpening premiseFirst of all, we need to know what Activiti is, how it is used and what problems it solvesActiviti introductionWhat is workflowWorkflow is the automat ...
Added by Ajdija on Thu, 09 Dec 2021 12:46:56 +0200
Detailed notes for swagger
| **Scope of action** | **API** | **API Common parameters** | **Action position** |
| :----------------: | :----------------: | :----------------------------------------------------------: | :--------------------------: |
| Protocol set description | ...
Added by mbowling on Thu, 09 Dec 2021 07:12:11 +0200
Why do you have to override hashCode to override equals
equals common interview questionsBefore we start talking, let's look at some common interview questions to see if you can answer them all.1. What's the difference between equals and = =?2. Must two objects with equal hashcode be equal? Are equals equal?3. Two objects are equal by equals. Are their hashcode s equal?If we do not override equals a ...
Added by david.brown on Thu, 09 Dec 2021 03:28:04 +0200
7, Spring Cloud Alibaba + spring boot + data center + multi tenant saas + front end and back end separated Spring Cloud Alibaba will persist Nacos data to MySQL
1. Preface We learned about the default storage method of the configuration center using Nacos and where the data is stored. Through consulting the materials, we learned that the data of the Nacoe configuration center and registration center are stored in the Derby embedded database by default. Obviously, the memory database is not suita ...
Added by gregsmith on Wed, 08 Dec 2021 13:08:07 +0200
Springboot -- integrating Canal to realize real-time monitoring of database changes
Canal introduction
View the official website of Canal Canal means waterway / pipeline / ditch. It is mainly used for incremental log parsing based on MySQL database to provide incremental data subscription and consumption Businesses based on log incremental subscription and consumption include:
database mirroring Real time database backup ...
Added by capetonian on Wed, 08 Dec 2021 11:35:26 +0200
[SpringBoot] SpringBoot integrates AOP
Speaking of spring, we know that its two core functions are AOP (aspect oriented) and IOC (control inversion). This article summarizes how SpringBoot integrates and uses AOP.
1, Example application scenario: log all web requests in perspective.
1. The web module of SpringBoot and AOP related dependencies are introduced into pom:
Of w ...
Added by goobers on Wed, 08 Dec 2021 03:25:01 +0200
Springboot uses jar package files to upload echo and deploy the cloud
In recent days, I've tried to deploy the cloud by using the jar package of springboot to summarize the experience and problems encountered
1, The springboot project deploys cloud Linux
1. Pack
1. Set an unused port on the cloud, which will be occupied by spring boot running in the form of jar package
2. Change pom.xml packaging method ...
Added by jmaker on Wed, 08 Dec 2021 02:12:17 +0200
SpringBoot integration Mybatis super detailed process
In the past, there were many configuration files in the traditional ssm framework. After reading the documents for several days, I made a mess of the logical relationship of xml. At that time, I completely followed the version requirements of the demo on the Internet (jdk and tomcat), so in the end, I failed to run with various problems.
Today ...
Added by qiangxd on Tue, 07 Dec 2021 22:43:19 +0200
Spring Boot implements various parameter verification (with project source code)
This article will introduce the best practices and implementation principles of Spring Validation in various scenarios in detail!
Project source code: spring-validation
1, Simple use
The Java API specification (JSR303) defines the standard validation API for Bean verification, but does not provide an implementation. hibernate validation is ...
Added by LiamOReilly on Tue, 07 Dec 2021 22:03:16 +0200