Build XmlConfigBuilder to prepare the basic environment for parsing XML files
As mentioned earlier, the XmlConfigBuilder object is mainly used to parse the global Configuration file of mybatis and obtain the instance of the Configuration object.
XmlConfigBuilder exposes six construction methods, which can be divided into two categories accordin ...
Posted on Fri, 05 Jun 2020 02:04:30 -0400 by _rhod
1.1 what is MyBatis?
1.3 persistent layer
2. First Mybatis program
2.1 construction environment
Posted on Thu, 04 Jun 2020 23:01:56 -0400 by Johan Beijar
There is a Dockerfile in the JEECG code. The basic idea is to take CentOS as the basic image, in which nginx, jdk, MySQL and redis are installed. The compiled front-end files are copied to the designated directory of nginx, the back-end jar files are placed in the root directory, and the configuration f ...
Posted on Thu, 04 Jun 2020 15:18:49 -0400 by nonaguy
1: Getting database auto increment primary key by jdbc
Usage scenario: after inserting a record, you need to directly use the record for other operations. For example, after inserting an order, you need to insert an order item record into the order detail table, and you need to use the primary key as the foreign key o ...
Posted on Thu, 04 Jun 2020 14:26:03 -0400 by starrieyed
The structural pattern of Java design pattern
1. Adapter mode
Adapter mode of class 1.1
1.2 adapter mode for objects
1.3 adapter mode of interface
2. Decoration mode
3. Agent mode
4. Appearance mode
5. Bridge mode
6. Combination mode
7. Enjoy yuan mode
1. Adapter mode
Convert the interface of ...
Posted on Thu, 04 Jun 2020 08:41:25 -0400 by meandrew
ORM Conceptual Analysis
First, comb out the concept of ORM. The spelling of ORM is Object Relation Mapping (Object Relation Mapping), where Object is the object in Object-Oriented Language. This paper uses c# language, so it is a.net object. Relation Mapping is a relationship mapping, which refers to the relationship mapping between.net object ...
Posted on Wed, 03 Jun 2020 22:04:41 -0400 by Major Tom
1. What is PL/SQL?
PL/SQL (Procedure Language/SQL) is a procedural extension of Oracle to SQL language. It refers to the addition of process processing statements (such as branch / condition, loop, variable, type, etc.) in SQL command language, which makes SQL language have process processing ability. By combining the data manipulatio ...
Posted on Wed, 03 Jun 2020 13:02:44 -0400 by wkoneal
The previous article ended the implementation of thread factory class, which mainly introduces the use of thread factory class.
Thread interface classes are divided into task model and data model. The process between them is the same, but the data storage is different.
Task model thread interface
template<typename RET, typename... Args> ...
Posted on Wed, 03 Jun 2020 10:38:28 -0400 by dominant
Generally, we use caching technology in the system to improve the efficiency of data query. When we find a batch of data from the database, we put it into the mixed storage (a block of memory area in simple understanding). The next time we query the same data, we can get the data directly from the cache. In this way, less int ...
Posted on Wed, 03 Jun 2020 04:56:20 -0400 by lathifmca
relay_log = /data/mysql/relay.log
relay_log_index = /data/mysql/relay_log.index
report-port = 3306
Posted on Tue, 02 Jun 2020 11:05:08 -0400 by root