Mybatis foundation + addition, deletion, modification and query (code example)
First, what is MyBatis?
MyBatis is a state-of-the-art persistence framework that supports custom SQL, stored procedures, and advanced mapping. MyBatis eliminates almost all JDBC code and manually setting parameters and retrieving results. MyBatis can use simple XML or Annotations to configure and map primitives, mapping interfaces, and Java PO ...
Added by hesketh on Sun, 20 Feb 2022 14:15:42 +0200
The circular dependency of spring bean s is completely mastered
I Clarify the problems that need to be clarified
The acyclic process of ordinary beans depends on the bean life cycleThe non cyclic dependency of aop proxy bean is the process of bean life cycleThe cycle of ordinary beans depends on the process of bean life cycleThe circulation of aop proxy bean depends on the process of bean life cycle
It's ...
Added by broomstick on Sun, 20 Feb 2022 13:13:52 +0200
Common Spring annotations
1. What is annotation driven
When annotation is started, the form of annotation is used to replace xml configuration, which completely eliminates the complicated spring configuration file from the project and simplifies writing
2. Disadvantages of annotation driven
In order to achieve the purpose of annotation driven, the original simpl ...
Added by Homer30 on Sun, 20 Feb 2022 13:00:08 +0200
wps online editing and sorting (here we sort out the error prone areas after docking)
1, Development preparation
1. Application service provider
Application service provider process
2. Access mode
There are three access methods: File preview, file editing and file creation.
Take file preview as an example. File preview is applicable to the scene where the file already exists on the public network server.
For example, acces ...
Added by harnacks on Sun, 20 Feb 2022 12:38:14 +0200
J2EE-022 SSM XML configuration SSM framework
Spring IOC,DI
Spring MVC process control from front end to back end
Mybatis ORM framework
Understanding of xml framework structure
Explanation of each XML process and function
General structure of the overall XML framework
web.xml
Configure the dispatcher servlet to access the entry path and distribute the processConfigure char ...
Added by lordphate on Sun, 20 Feb 2022 12:34:52 +0200
Java extension Nginx 6: two filter s
Welcome to my GitHub
Here we classify and summarize all the original works of Xinchen (including supporting source code): https://github.com/zq2599/blog_demos
Overview of this article
This article is the sixth in the "Java extends Nginx" series, Above The five handlers form the basic framework of nginx clojure development. The ...
Added by mrvanjohnson on Sun, 20 Feb 2022 12:05:05 +0200
05 sentinel rule persistence
Sentinel rule persistence
All sentinel rules are stored in memory, and all rules will be lost after restart. In the production environment, we must ensure the persistence of these rules to avoid loss.
Rule management mode
Whether rules can be persisted depends on the rule management mode. sentinel supports three rule management modes:
...
Added by lzylzlz on Sun, 20 Feb 2022 11:57:33 +0200
04 sentinel authorization rules
Authorization rules
Authorization rules can judge and control the source of the requester.
Authorization rules
Basic rules
Authorization rules can control the source of the caller in two ways: white list and blacklist.
White list: callers whose source is in the white list are allowed to access Blacklist: callers whose origin is in t ...
Added by smarthouseguy on Sun, 20 Feb 2022 11:19:52 +0200
[Flink from getting started to mastering 01] DataStream API
In the previous article, we introduced the installation, deployment and basic concepts of Flink. Today, let's learn about DataStream API, one of the core of Flink.
01 distributed stream processing foundation
In the figure above, we divide the whole code into three parts, namely, the basic model of distributed stream processing:
SourceTrans ...
Added by c-o-d-e on Sun, 20 Feb 2022 10:32:54 +0200
Big data journey for beginners of strange upgrade < Java object-oriented advanced multithreading safety and wake-up mechanism >
Xiaobai's big data journey (27)
Java object-oriented advanced multithreading security and wake-up mechanism
Last review
In the last issue, we learned the concept of multithreading and the basic use of multithreading. This chapter explains the remaining knowledge points of multithreading, thread safety and solution, and locking mechanism. Aft ...
Added by nick314 on Sun, 20 Feb 2022 09:58:57 +0200