Handwritten mybatis-2 source code parsing
Handwritten mybatis-2 source code parsing
Article directory
Handwritten mybatis-2 source code parsing
0 origin
1 mybatis core process
2 Source Code Analysis
2.1 SqlSessionFactoryBuilder
2.2 XMLConfigBuilder
2.3 Configuration
2.4 SqlSessionFactory
2.5 SqlSession
2.6 Executor & SimpleExecutor
2.7 DefaultSqlSession
2.8 Ma ...
Posted by kmutz22 on Tue, 23 Apr 2019 13:00:34 -0700
Hibernate Framework Notes 01_Environment Build_API_CRUD
1. Overview of Hibernate Framework
1.1 What is a Framework
Framework: refers to the semi-finished software, has completed some functions.
1.2 Classic Three-tier Architecture
1.3 Hibernate Framework
What is hibernate: Hibernate is a persistent ORM framework
What is ORM: Object Relational Mapping (Object Relational ...
Posted by nadnad on Mon, 22 Apr 2019 17:51:35 -0700
LAB003 - Oracle database hot standby
The process is as follows:
Ensure that the database is in archivelog mode.
Determine where to copy the backup files.
Identify which files need to be backed up.
Note the maximum sequence number of the online redo logs.
Alter the database/tablespace into backup mode.
Copy the data files with an OS utility to the location determin ...
Posted by bysable on Mon, 22 Apr 2019 14:51:34 -0700
python hands-on script-timed detection of unresponsive processes and restart
background
There are always some programs in the windows platform performance is not stable, no response for a period of time, but have to use, each time is found a problem to restart manually, now write a script to check whether the process is normal, automatically restart.
Knowledge Points
schedule Timing Task Scheduling ...
Posted by kvishnu_13 on Mon, 22 Apr 2019 00:30:35 -0700
Intranet penetration/port mapping using ngrok sentence
Article directory
What is ngrok?
support system
Start using
1. Download
2. Decompress and install
3. Create an ngrok account and configure authtoken
4. Start penetrating the Intranet
Use help
Follow-up
What is ngrok?
ngrok is a reverse proxy written in go language, which establishes a secure channel between a common en ...
Posted by mbowling on Sun, 21 Apr 2019 18:33:33 -0700
hibernate map Simply Implements One-to-Many Relational Mapping
First of all, there are two tables of students (1) scores (more), which require hibernate relational mapping (xml) to establish one-to-many relationship between them. And use map to update students'grades
First, establish the entity class
Student.java
package entities;
import java.util.Date;
import java.util.HashMap;
import java.u ...
Posted by nezona on Sun, 21 Apr 2019 17:27:34 -0700
RedisMQ of Queue Factory
This time I share with you the usage of RedisMQ queue, the first two articles Queue Factory (MSMQ) and RabbitMQ of Queue Factory Briefly introduce the construction of the corresponding queue environment and the use of common methods, together with the EDIS MQ shared in this article, we have achieved the goal of "three swordsmen" in ou ...
Posted by rajns on Sun, 21 Apr 2019 12:30:34 -0700
mybatis Dynamic SQL Statement
1.ibatis is the predecessor of mybatis.
2.mybatis is more flexible than hibernate, has better performance than hibernate, and is lightweight.
3. What is mybatis:
MyBatis is an excellent persistence framework that supports common SQL queries, stored procedures and advanced mappings.
MyBatis eliminates manual settings of almost all JDBC code ...
Posted by deepakagrawal1982 on Sat, 20 Apr 2019 22:15:33 -0700
Servlet listener details
The Servlet API provides a basic application event listener interface. By implementing these Servlets 2.4, programmers can provide event monitoring for the following objects:
ServletContext: It can let the program know how the whole application is loaded and unloaded.
HttpSession: Web programs can understand and respond to the status of app ...
Posted by four4swords on Sat, 20 Apr 2019 15:57:34 -0700
MyBatis Initial Learning (Spring Integrates MyBatis)
Be careful:
1) Make sure to integrate the two and MyBatis-Spring versions, which often fail to run after completion because of version incompatibility.
2) Because annotation configuration is more convenient, my project uses annotation to configure transactions and inject bean s.
3) This article only provides some configuration references for ...
Posted by tpl41803 on Sat, 20 Apr 2019 13:09:33 -0700