Mybatis plus - learning notes
reference resources: MyBatis-Plus
1, Quick start
1.0 preparation
reference resources MyBatis-Plus Create table statement in!
1.1 add dependency & profile
During springboot consolidation:
<!-- springboot Unit test dependencies for -->
<dependency>
<groupId>org.springframework.boot</groupId>
...
Added by velkymx on Tue, 28 Dec 2021 23:24:26 +0200
An article to understand the Android Framework
This paper aims to describe the Framework of the Framework, mainly to record my learning about android framework for a period of time, hoping to attract jade and help readers.prefaceWrite before: 1. Is it necessary to learn linux kernel? I think it is necessary. Learning linux kernel helps us to deepen our understanding of some concepts, such ...
Added by bashaash on Wed, 22 Dec 2021 13:36:46 +0200
android framework project development case - dynamically hide Icon 2 on Launcher
The code was written in the last class. Unfortunately, we found that it crash ed when we clicked, because CHANGE_COMPONENT_ENABLED_STATE permission requires system permission
2021-12-17 23:09:15.078 4198-4198/com.android.things.privateapplication1 E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.android.things.privateapplication1, PID: ...
Added by Lashiec on Mon, 20 Dec 2021 15:48:52 +0200
Connecting Spring
Connecting Spring (1) Connecting Spring (2)
1, Integrate MyBatis
The integration process is equivalent to transferring some contents written in the MyBatis configuration file to the Spring configuration file. Instead of creating objects through code, various MyBatis classes use the < bean > tag to create beans. Change the SqlSession ...
Added by Lord Sauron on Sun, 19 Dec 2021 13:57:33 +0200
RabbitMQ: use Docker to build RabbitMQ high availability load balancing cluster
catalogue
1, Building a RabbitMQ cluster
1. Start multiple RabbitMQ nodes
2. Join the cluster
3. Configure the image queue
2, HAProxy load balancing
1. Install HAProxy
2. Configure HAProxy
3. Start
3, KeepAlived configuration High Availability
1. KeepAlived installation
2. KeepAlived configuration
Use Docker to build a RabbitMQ clu ...
Added by member123 on Mon, 13 Dec 2021 11:16:06 +0200
Android -- Analysis of NUD detection mechanism of WiFi
Android -- Analysis of NUD detection mechanism of WiFi
During this period, I encountered the problem of sudden disconnection after several WiFi connections. Finally, it was found that it was caused by Android's NUD detection mechanism. The underlying implementation of NUD(Neighbor Unreachable Detection) still relies on the kernel. The Android ...
Added by dfr574 on Mon, 13 Dec 2021 04:00:57 +0200
Netty ten thousand words explanation - Advanced
Stick wrap and half wrap
sliding window
In order to improve the efficiency of TCP transmission, the transmitter and receiver will maintain an array of dynamic storage and maintain a certain number of TCP connections.
Phenomenon analysis
Sticky bag
Phenomenon: send abc def and receive abcdef reason:
Application layer: the receiv ...
Added by truman on Thu, 18 Nov 2021 01:38:06 +0200
SpringSecurity permission control ✧ (intermediate level)
( • ̀ ω •́ ) ✧ spring security intermediate
1, Expression based access control ⭐
access() can be used to realize the same functions as the permission control learned before.. antMatchers.access("expression or method") has a wide range of expressions, such as:. anyRequest.access(@ class name. Method): determine whe ...
Added by scottb1 on Fri, 05 Nov 2021 21:05:23 +0200
Initialization of Spring----- refresh()
Initialization of Spring
Surprisingly, Spring is no stranger to the core framework in Java, a point that interviewers often ask, and the source code is also the most beautiful framework. The core is IOC and AOP. IOC is simply a container that manages everything together. AOP is dynamic and adds some enhancements when you execute the methods in ...
Added by edkellett on Sun, 31 Oct 2021 22:34:23 +0200
Android Framework combat video -- BootAnimation startup source code analysis (Android 8.1)
Course Q & A and new course information: QQ communication group: 422901085 for course discussion Video link of FrameWork introductory course: https://edu.csdn.net/course/detail/30298 Video link of FrameWork practical lesson 1: https://edu.csdn.net/course/detail/30275 FrameWork cross process communication video link: https://edu.csdn.net/cou ...
Added by grumpy on Mon, 04 Oct 2021 23:54:22 +0300