The plug-in mechanism of mybatis

I. Introduction to mybatis plug-in As for the plugins of mybatis, I think you've used them, such as the most commonly used reverse engineering, which generates model, dao, xml files and paging plugins according to the table structure. What's the working principle of these plugins, such as paging plugins? Why can it change the sql statements we ...

Posted by hustler on Sun, 03 Nov 2019 13:27:50 +0100

Introduction to Apache working mode

Introduction to Apache working mode 1.Apache is the most widely used and stable open source server software for today's web servers 2. There are many working modes. When the source package installs httpd, you can view the httpd-mpm.conf file, which is located in the extra/conf directory 3. At present, there are two modes: event mode: multiple ...

Posted by Lahloob on Sun, 03 Nov 2019 11:19:24 +0100

The docker k8s cluster deploys tomcat and uses one image to increase the reusability of the image.

Written in the front, k8s clusters have been set up. Please refer to the previous article for specific steps. Write the Dockerfile file to create a public image. Each time tomcat deploys, it directly uses the image without build ing the image every time. #At first, I wanted to use tomcat's official image, but I had no choice but to use diban ...

Posted by thankqwerty on Sat, 02 Nov 2019 15:13:20 +0100

[CentOS 7LAMP Architecture 3], Apache installation and configuration#

shallow A kind of ove Install Apache Apache is the name of a foundation. httpd is the package we want to install. In the early days, its name was Apache. Apache official website www.apache.org wget http://mirrors.cnnic.cn/apache/httpd/httpd-2.4.29.tar.gz wget http://mirrors.cnnic.cn/apache/apr/apr-1.6.3.tar.gz wget http://mirrors.cnnic.cn ...

Posted by onicsoft on Fri, 01 Nov 2019 11:11:16 +0100

Mybaits primary key value updating

Article directory Mybaits primary key value updating Return the primary key value generated by the current session (supported by MySQL and Oracle) Test it. You can write back the primary key value by setting the attribute. The principle is unknown (only supported by MySQL) Test it. Mybaits pri ...

Posted by ShadowIce on Tue, 29 Oct 2019 19:17:05 +0100

Compile apache service manually to realize the function of anti-theft chain

Apache security chain Apache installation package Links: https://pan.baidu.com/s/11X5CEWoVemxlGuNQqn9cuAExtraction code: jn6l 1. Install and configure Apache service 1.1. Mount the Apache installation package to the virtual machine through sharing [root@localhost ~]# smbclient -L //192.168.10.64 Enter SAMBA\root's password: Sharename ...

Posted by josemi on Sun, 27 Oct 2019 00:09:17 +0200

idea creating springboot aggregation project

1. Create a parent project, file > New > project, as shown in the following figure: Click Project to open the following interface: Click Next, as shown below: Note: because springboot is an external network, it may not be able to be opened. It needs to be opened through an agent. The agent recommends using SSR win 4.7.0-fix (down ...

Posted by miltonos on Sat, 26 Oct 2019 09:54:33 +0200

How does RocketMQ master and slave synchronize message consumption progress?

I also told you about the rules of RocketMQ read-write separation, but you may ask, how does the consumption progress between the master and slave servers keep pace? Let me give you an answer. If the consumer consumption mode is different, there will be different ways to save it. The message consumption progress of the consumer side is saved to ...

Posted by anushka on Fri, 25 Oct 2019 09:54:34 +0200

Tomcat source code analysis 3: the source code analysis of Tomcat startup loading process

Source code analysis of Tomcat start loading process (1) Today, I will share the source code method to explain the loading process of Tomcat startup. For the architecture of tomcat, please refer to the article "Tomcat source code analysis II: first look at the overall architecture of Tomcat". First look at the application In the artic ...

Posted by scrupul0us on Fri, 25 Oct 2019 07:03:57 +0200

Analysis of MyBatis binding module

Package of binding function code org.apache.ibatis.binding binding module function Encapsulating ibatis programming model In the ibatis programming model, SqlSession is the entry of sql execution. The practical method is sqlSession.selectOne(namespace+id, parameter list) (for example, sqlSession.selectOne("com.enjoylearning.mybatis.mapper ...

Posted by Dilbert137 on Tue, 22 Oct 2019 17:02:45 +0200