MyBatis notes: MyBatis cache / madness
1. Cache
What is Cache?
There is temporary data in memory. Put the data frequently queried by users in the cache (memory), and users do not need to query the data from the disk (relational database data file) but from the cache, so as to improve the query efficiency and solve the performance problem of high concurrency system.
2. Why c ...
Posted by rolwong on Sun, 20 Feb 2022 19:58:59 +0100
The 26th day of learning big data - supplementing IO stream and multithreading
Day 26 of learning big data - Supplementary IO stream and multithreading (1)
Summary of multithreading:
1, Overview of multithreading:
Process: The running program is an independent unit of the system for resource allocation. Each process has its own memory space and resources
Thread: It is a single sequential control flow of a process, ...
Posted by villas on Sun, 20 Feb 2022 19:16:41 +0100
java foundation - Object class
1, toString method in Object class:
java.lang.Object class is the root class in the Java language, that is, the parent class of all classes.
All method subclasses described in it can be used. When an Object is instantiated, the final parent class is Object.
To create a Person class:
public class Person {
private String name;
private ...
Posted by Hayce on Sun, 20 Feb 2022 19:16:19 +0100
Advanced application of spring MVC -- transform the handwritten spring MVC into a real spring MVC
Source code (code cloud): https://gitee.com/yin_zhipeng/implement-_springmvc_of_myself.git
1, Handwritten spring MVC
For length reasons, I put it in this article https://blog.csdn.net/grd_java/article/details/123000127
2, Spring MVC advanced application
Spring MVC
Encapsulate the servlet and simplify the framework of servlet developmen ...
Posted by MilesWilson on Sun, 20 Feb 2022 19:02:24 +0100
Jenkins creates maven project
1. Introduction to maven
https://mirrors.tuna.tsinghua.edu.cn/apache/maven/
2. Install mvn
# java -version
java version "1.8.0_211"
Java(TM) SE Runtime Environment (build 1.8.0_211-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.211-b12, mixed mode)
# cd /data/
# wget https://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.6.1/b ...
Posted by ale1981 on Sun, 20 Feb 2022 18:19:01 +0100
RESTful style (detailed introduction + case implementation)
If you are Xiaobai, this set of information can help you become a big bull. If you have rich development experience, this set of information can help you break through the bottleneck 2022web full set of video tutorial front-end architecture H5 vue node applet Video + data + code + interview questions.
Write the catalog title here
Getting st ...
Posted by kumar_ldh on Sun, 20 Feb 2022 17:47:41 +0100
Blue Bridge Cup vip basic exercise 2n queen question (java implementation)
Resource constraints
Time limit: 1.0s memory limit: 512.0MB
Problem description
Given an n*n chessboard, there are some positions in the chessboard that cannot put queens. Now put n black queens and n white queens into the chessboard, so that any two black queens are not in the same row, column or diagonal, and any two white queens are not i ...
Posted by forzatio on Sun, 20 Feb 2022 17:31:40 +0100
Thread.currentThread().getName() and this Getname() difference explanation
Python wechat ordering applet course video
https://edu.csdn.net/course/detail/36074
Python actual combat quantitative transaction financial management system
https://edu.csdn.net/course/detail/35475
Detailed explanation of currentThread
currentThread method is a static method of Thread class, which is used to obtain the currently running c ...
Posted by kb0000 on Sun, 20 Feb 2022 17:16:21 +0100
717. 1-bit and 2-bit characters / 18 Sum of four / 22 bracket-generating
717. 1-bit and 2-bit characters [simple question] [daily question]
Idea:
Traverse the bits array from front to back. If the current element is 1, the second character, whether 10 or 11, starts with 1, so you can be sure that the current element and its next element form the second character, i+= 2 directly; The bits array has only 0 and 1. ...
Posted by simjay on Sun, 20 Feb 2022 16:52:06 +0100
Using RandomAccess interface skillfully, the performance of collection traversal can be improved dozens of times
CSDN blog expert is a high-quality creator in the Java field focusing on various technical fields. Wechat search [Chen Pi's JavaLib] and learn more technical articles, interview materials and technical e-books in time after paying attention.
preface
Suppose you were asked to define a method for others to call. Its function is to travers ...
Posted by sarbas on Sun, 20 Feb 2022 15:48:14 +0100