Step into the JavaWeb technology world 14: Step-by-step understanding of Mybatis through the project

WeChat Public Number (Huang Xiaodian) is a programmer in a large factory, a new knowledge in the Internet industry, and a lifelong practitioner of learning.Reply to "Java", "Python", "C++", "Big Data", "Machine Learning", "Algorithms", "AI", "Android&qu ...

Posted on Fri, 16 Aug 2019 19:34:35 -0700 by @sh

Introduction to mybatis HelloWorld

1. Getting started with mybatis 1.1 mybatis Download The code for mybaits is managed by github.com mybatis package download address , you can download the corresponding version My download of mybatis-3.4.1 has a directory structure of The.pdf fil ...

Posted on Fri, 16 Aug 2019 18:01:58 -0700 by bernouli

maven Multi-Module Engineering--Implementation of dao Layer

How to Write Data Access Layer in maven Multimode--dao Layer Problem introduction How to write dao layer module with mybatis framework Solution dao layer module: web layer module: So how to test it? Problem introduction In recent days, I ...

Posted on Thu, 15 Aug 2019 06:40:51 -0700 by phpfolk2003

Detailed configuration of spring-boot-plus

Public Configuration application.yml ­čĹë Official Full Configuration for SpringBoot Tomcat related configuration server: servlet: context-path: /api tomcat: max-threads: 1000 min-spare-threads: 30 uri-encoding: UTF-8 context-path: project access path max-threads:tomcat thread pool size setting min-spare-threads: number of to ...

Posted on Mon, 12 Aug 2019 09:13:30 -0700 by mjs87

Detailed explanation of MyBatis two-level caching mechanism

Caching is an important means to improve the performance of hardware and software systems; on the hardware level, modern advanced CPU s have three-level caching, and MyBatis also provides a caching mechanism, which can greatly improve our query performance. Level 1 cache Mybatis supports caching, but ...

Posted on Sun, 04 Aug 2019 22:43:38 -0700 by charlestide

New Mybatis-xml File Deployment and Simple Application

Initial Mybatis-xml file deployment and simple application (Dao mode) Tools used mybatis-3.2.7.jar mysql-connector-java-8.0.16.jar mybatis myeclipse mysql5.5.15 navicat Use the tool to search for it by oneself! ____________ 1. Open Navicat to create a table for testing mysql creates database CREAT ...

Posted on Sun, 04 Aug 2019 21:23:02 -0700 by ckjian

[Start class javaEE 190802 per day] Basic overview of mybatis and first program

Introduction to mybatis What is mybatis MyBatis is an excellent persistence layer framework and is a semi-automated ORM framework It encapsulates the process of using JDBC to manipulate the database so that developers only need to focus on the SQL itself rather than on the complex process code of jdbc, such as registering drivers, creating con ...

Posted on Fri, 02 Aug 2019 17:50:38 -0700 by cody44

MyBatis Learning Records

Project Download The project contains code, required jar packages and sql files I. Introduction to MyBatis MyBatis, like Hibernate, is an orm persistence framework. Native jdbc operations have a lot of repetitive code (such as registration driver, connection creation, statement creation, result set ...

Posted on Tue, 30 Jul 2019 06:58:52 -0700 by dimxasnewfrozen

Spring Boot 2.x: Integrating Mybatis-Plus

brief introduction Mybatis-Plus is a persistent framework developed by Chinese people on the basis of Mybatis. And won the most popular Chinese software TOP5 in Open Source China in 2018 What kind of chemical reactions do Spring Boot and Mybatis-Plus, which also aim to simplify development, produce?Next, let's take a look at the efficiency im ...

Posted on Sun, 28 Jul 2019 19:29:02 -0700 by errtu

Two interfaces of mybatis-plus and their introduction

 1. IService package com.baomidou.mybatisplus.service; import java.io.Serializable; import java.util.Collection; import java.util.List; import java.util.Map; import com.baomidou.mybatisplus.mapper.Wrapper; import com.baomidou.mybatisplus.plugins.Page; /**  * <p>  * Top-level Service  * &lt ...

Posted on Wed, 24 Jul 2019 22:35:40 -0700 by Chronos