Qile Background Management System--Store Management Module

Preface: Before that, we explained ----- Integration and Testing of Three Frameworks of this Project (Spring+SpringMVC+Mybatis) , we have a certain understanding of the integration of the three major frameworks today, so today we are talking about the implementation of the store management module, mainly explaining the front and back-end two mo ...

Posted by Justin98TransAm on Fri, 20 Mar 2020 17:52:40 -0700

MyBatis: developing with annotations

Interface oriented programming You have learned object-oriented programming and interface before, but in real development, we often choose interface oriented programming Root cause: decouple, expand, improve reuse, in layered development, the upper layer doesn't need to care about the specific implem ...

Posted by ammupon on Mon, 16 Mar 2020 22:35:24 -0700

MyBatis: Introduction, first program

Environment description: jdk 8 + MySQL 8 maven-3.6.0 IDEA (Editor) Require mastery before learning: JDBC MySQL Java Foundation Maven Junit Introduction to Mybatis What is MyBatis MyBatis is an excellent persistence framework MyBatis avoids almost all JDBC code and the process of manually setti ...

Posted by evan12 on Mon, 16 Mar 2020 19:22:23 -0700

Understanding Java persistence framework under Mybatis (connection pooling, caching, and annotation development)

Preface It's recommended that you read this article first (above Mybatis, the Java persistence framework for first time) Click to visit 9. Mybatis Connection Pool and Transaction Depth 1. Connection Pool Technology for Mybatis Connection pooling technology in MBatis uses its own connection pooli ...

Posted by Dave3765 on Fri, 13 Mar 2020 18:28:19 -0700

MyBatis many to one, one to many

Multiple students, corresponding to a teacher; For students, multiple students are related to one teacher For a teacher, there are many students in a teacher Many to one 1. Create the corresponding sql (mybatis.student, mybatis.teacher); 2 2. Import the corresponding dependency (pom.xml) <depend ...

Posted by spstieng on Thu, 12 Mar 2020 23:26:39 -0700

How to Solve the Transverse Override Security in the Development of E-commerce Receipt Address Module

What is horizontal/vertical overstepping? Horizontal Override: Horizontal override refers to an attacker attempting to access resources of a user with the same privileges as he has.Vertical Override: Vertical override refers to a low-level attacker attempting to access resources of high-level users. How can I prevent the lateral overstepping ...

Posted by edwardtilbury on Thu, 12 Mar 2020 09:47:57 -0700

CRUD of MyBatis single table

crud of MyBatis single table Create maven project and add dependency, junit, mysql, and mybatis(3.4.6) Create the configuration file of mybatis under Resources <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http ...

Posted by mechamecha on Mon, 09 Mar 2020 20:28:34 -0700

The use and source code analysis of mybatis

Source code of the project: https://github.com/zhuquanwen/mybatis-learn/releases/tag/with-annotation Construction process: Based on the previous article, some processes are not described in detail. The previous source code has been attached. Please refer to the previous article: https://blog.csdn.net/u0 ...

Posted by davieboy on Sat, 07 Mar 2020 23:49:30 -0800

SpringBoot entry notes

Article directory Spring boot and microservices SpringBoot Micro service Spring boot environment construction Official document generation idea integration Introduction to the initial environment Spring boot principle Automatic configuration YML file grammar Property mapping between configuratio ...

Posted by karikamiya on Sat, 07 Mar 2020 20:02:37 -0800

Initialization of MyBatis source code analysis

Mybatis source code analysis I (initialization process) Recently, I learned the source part of mybatis. Now I am going to record my understanding process while learning. This article mainly records the initial process of mybatis, mainly including the following points: 1. What did initialization do 2. How to parse the parameters of mybatis-confi ...

Posted by cosmo7 on Sat, 07 Mar 2020 19:37:44 -0800