Mybatis personal study notes
Mybatis personal summary notes
01 basic information
Mybatis is the SQL mapping frameworkThis object can be mapped into a row of data in the databaseDevelopers only need to provide sql, process sql through Mybatis, and finally get the List collection or Java objectsMybatis is a semi-automatic ORM mapping tool, which is called semi-automa ...
Posted by simongcc on Thu, 03 Mar 2022 12:38:29 +0100
Open zero code programming?
APIJSAON (I: Introduction)backgroundDue to various wonderful abbreviations, chaotic naming, outdated documents, out of sync with interfaces, unstable or arbitrary changes of data types, hundreds or even thousands of chaotic status codes, all kinds of wrangling between the front end and the back end, cumbersome whole development process, long de ...
Posted by jannoy on Thu, 03 Mar 2022 12:03:23 +0100
Analysis of Aop bottom layer of Spring
Analysis of the underlying source code of Aop in Spring (Part I)
As the author becomes more and more lazy [I haven't updated my blog for a long time], I can't afford time to record or analyze some technical points alone, because the blog is still short to make readers willing to read it in their heart.
1, Aop application
Dynamic agent
...
Posted by kr9091 on Thu, 03 Mar 2022 05:28:35 +0100
Spring framework transaction processing
What is a transaction
1. What is a transaction
Transaction refers to a set of sql statements, in which there are multiple sql statements It may be insert, update, select or delete. We hope that these multiple sql statements can succeed or fail. The execution of these sql statements is consistent and executed as a whole.
2. When do y ...
Posted by Awesome Trinity on Wed, 02 Mar 2022 16:50:26 +0100
Spring IOC circular dependency summary
catalogue
Spring circular dependency
What is circular dependency?
Under what circumstances can circular dependencies be handled?
Basic introduction and the essence of circular dependency
what? The essence of the problem is actually two sum!
How to get to getSingleton method
Simple circular dependency (no AOP)
Call getSingleton(beanName ...
Posted by jimmyt1988 on Wed, 02 Mar 2022 16:25:13 +0100
Docker Compose of docker re learning series
Why do we need Docker Compose?
Isn't it annoying to start containers one by one like this? Can you write a script to start the corresponding containers in order of dependency?
----Docker compose it's coming
Docker Compose
brief introduction
Compose project is the official open source project of Docker, which is responsible for the ...
Posted by Adam W on Wed, 02 Mar 2022 13:12:11 +0100
Spring Boot ------- employee management system
Spring Boot (IX) -- employee management system
18. Employee management system
18.1 preparation
18.1.1 front page
Place the html page in the templates folderPut css, js and img into the static folder
18.1.2 entity class preparation
Department
public class Department {
private Integer id;
private String departmentName;
public ...
Posted by arcticwolf on Wed, 02 Mar 2022 12:06:11 +0100
Practice the design pattern of GoF 23: SOLID principle
Abstract: This paper will describe the interface isolation principle and Dependency Inversion Principle in SOLID principle.
This article is shared from the Huawei cloud community "practice the design pattern of GoF 23: SOLID principle (Part 2)", author: yuan Runzi.
In< Practice 23 design modes of GoF: SOLID principle (I) >In ...
Posted by Atanu on Wed, 02 Mar 2022 05:13:32 +0100
[Spring] the difference between FactoryBean and BeanFactory
Use of FactoryBean
FactoryBean
FactoryBean is an interface. The interface declaration is as follows:
package org.springframework.beans.factory;
import org.springframework.lang.Nullable;
public interface FactoryBean<T> {
String OBJECT_TYPE_ATTRIBUTE = "factoryBeanObjectType";
@Nullable
T getObject() throws Exception;
...
Posted by Serberus on Wed, 02 Mar 2022 01:44:21 +0100
Preliminary understanding of IOC container
1,IOC
Inverse of Control – IOC, control reversal, reversing the control of the object to Spring!
Using IOC can solve the problem of high coupling of programs
Control reversal
Suppose I need a function. In this function, I need to call the service layer, and then call the dao layer to get the data. Traditional Java EE development direc ...
Posted by CircularStopSign on Wed, 02 Mar 2022 01:35:10 +0100