MyBatis - Customize a small MyBatis
Recently, I studied the underlying code of Mybatis, and prepared to write a small tool to operate the database, which realized some functions of Mybatis.
1. SQL statements are configured in mapper.xml.
2. Support input of int, String and custom data ...
Added by gregor171 on Fri, 06 Sep 2019 16:43:11 +0300
SpringBoot integrates Mybatis(CRUD implementation)
Preparatory tool: IDEA jdk1.8 Navicat for MySQL Postman
New Project
Selection dependency: mybatis Web Mysql JDBC
Project structure
pom dependency:
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaL ...
Added by vweston on Thu, 05 Sep 2019 08:14:06 +0300
Python Rapid Development of Scrapy, a Distributed Search Engine-craw scrapy item loader
Create autocrawler files with commands
Creating crawler files is based on the master scrapy to create crawler files
Scrapy genspider-l View scrapy's available master for creating crawler files
Available templates: Master descriptionCreate basic crawler files
crawl Create Autocrawler FilesCreate crawler files for crawling csv data
Create crawli ...
Added by broseph on Thu, 05 Sep 2019 06:50:35 +0300
Deploy Tomcat (Web) Service Details
1. Introduction to Tomcat Services
Tomcat server is a free, open source Web application server. It is a lightweight application server and is widely used in small and medium-sized systems and in situations where concurrent access to users is not very common. It is the preferred choice for developing and debugging JSP programs.Generally speakin ...
Added by AnarKy on Thu, 05 Sep 2019 04:39:15 +0300
FactoryBean in Spring
Full code address for this article: https://github.com/yu-linfeng/BlogRepositories/tree/master/repositories/factorybean
FactoryBean and BeanFactory have long been plagued by developers because of their similarity in naming.
BeanFactory, the well-known Spring core interface, provides the most basic functionality of the IoC container.But explaini ...
Added by Teach on Tue, 03 Sep 2019 19:47:47 +0300
Log4j2 configuration file log4j2.xml
1. Background
Recently, due to the needs of the project, we have migrated all versions of log4j 1.x to the version of log4j 2.x, and the subsequent slf4j integration log4j configuration (the perfect solution for building a project log system using Slf4j integration Log4j2) and log4j2 configuration file details require a good chat.This article i ...
Added by reethu on Tue, 03 Sep 2019 04:49:48 +0300
Introduction and use of Ajax
Basic Ajax concepts
Ajax is all called Asynchronous JavaScript and XML (asynchronous JavaScript and XML). With a small amount of data exchange with the server in the background, Ajax enables asynchronous updates to a Web page, allowing updates to ...
Added by EZE on Mon, 02 Sep 2019 04:56:54 +0300
[spring-boot source parsing] spring-boot dependency management
Keywords: spring-boot dependency management, spring-boot-dependencies, spring-boot-parent
problem
maven project, dependency management is a very basic and very important function. Now the project is more and more large, more and more dependencies, there are too many two-party packages and three-party packages. Dependency conflict handling is re ...
Added by jstarkey on Mon, 02 Sep 2019 04:48:58 +0300
@ Transactional Implementation Principle
Catalog
1. Introduction
2. Custom Annotations
2.1 Definition
2.2 Test
2.3 Summary
3. Notes on Handwritten Transactions
3.1 maven dependence
3.2 Configure spring.xml file
3.3 Customize transaction annotations (by reflecting annotations on ...
Added by natefanaro on Sun, 01 Sep 2019 05:05:02 +0300
Construction of High Availability HA
Configure High Availability
1. Install zookeeper
2. Edit zoo_cfg in the conf folder under the installation zookeeper directory
If not, copy zoo_ (add to the ip address of the three machines, create a directory, create myid under the directory, ...
Added by EviL_CodE on Thu, 29 Aug 2019 15:35:47 +0300