Tag:mybatis

  • Handwritten MyBatis framework

    Time:2022-12-6

    Native JDBC frame writing test source address Handwriting the Mybatis framework is more conducive to understanding the bottom layer of the framework, so as to know what it is and why it is. Native JDBC /** * Native jdbc writing method * * @author lipangpang * @date 2022/3/13 * @description */ public class JdbcDemo { […]

  • Chapter 2 of “Mybatis Manual Column”: Create a simple mapper agent factory

    Time:2022-12-5

    Author: Brother FuBlog: https://bugstack.cn Precipitate, share, grow, let yourself and others gain something! I. Introduction Hurry and be fast, is the biggest obstacle! Slow down, slow down, only by slowing down can you see more complete information and learn more solid techniques. And those short stories that satisfy your speed are sometimes more eye-catching, but […]

  • Progress 3 of “Handwritten Mybatis” with code farmers: Realize the registration and use of mappers

    Time:2022-12-4

    Author: Brother FuBlog: https://bugstack.cn Precipitate, share, grow, let yourself and others gain something! I. Introduction How to face the design of complex systems? We can call large-scale frameworks such as Spring, Mybatis, and Dubbo, or some core projects within the company, all of which can be called complex systems. This kind of project is no […]

  • Chapter 4 of “Handwritten Mybatis”: Parsing and Registration of Mapper XML

    Time:2022-12-3

    Author: Brother FuSeries: https://bugstack.cn/md/spring/develop-mybatis/2022-03-20-%E7%AC%AC1%E7%AB%A0%EF%BC%9A%E5%BC%80%E7 %AF%87%E4%BB%8B%E7%BB%8D%EF%BC%8C%E6%89%8B%E5%86%99Mybatis%E8%83%BD%E7%BB%99%E4%BD %A0%E5%B8%A6%E6%9D%A5%E4%BB%80%E4%B9%88%EF%BC%9F.html Precipitate, share, grow, let yourself and others gain something! I. Introduction How do you face feature iteration? In fact, many programmers don’t have many opportunities to do a new project when they first start programming or join a new company. Most of the time, they are constantly iteratively updating […]

  • Mybatis hands-on (1) Mybatis introduction and overall structure

    Time:2022-12-2

    Passionate about learning, passionate about life! Precipitate, share, grow, let yourself and others gain something! 1. Introduction to Mybatis MyBatis Official Documentation Mybatisis a tool designed to help developers shield the underlying repetitiveJDBCThe persistence layer framework of the code supports the configuration file or annotationResultSetmapped toJavaobject. compared to otherORMframe,MybatisMore lightweight, support customizationSQLand dynamicSQL, which is […]

  • XML and annotation mapping in Mybatis, so easy

    Time:2022-12-2

    Focus on “Java back-end technology full stack” Reply to “Interview” to get a full set of interview materials MyBatisProvides two ways of XML configuration and annotation configuration. Today, let’s talk about how these two methods are implemented. MyBatisThe real power of is in its statement mapping, which is where its magic happens. Because of how […]

  • Mybatis hands-on (2) Create a simple mapper proxy factory

    Time:2022-12-1

    Passionate about learning, passionate about life! Precipitate, share, grow, let yourself and others gain something! I. Introduction When we use Mybatis, we will have a question like this: “Why does Mybatis only need to define an interface, and can use SQL statements in XML or annotations to complete CRUD to the database without writing an […]

  • Java training Mybatis dynamic Sql processing analysis

    Time:2022-11-30

    The following articles are from Architect Must-Have Introduction to Dynamic Sql Dynamic SQL is one of the powerful features of MyBatis. If you have used JDBC or other similar frameworks, you should understand how painful it is to concatenate SQL statements according to different conditions. For example, when concatenating, make sure not to forget to […]

  • Chapter 5 of “Handwritten Mybatis”: Analysis, creation and use of data sources

    Time:2022-11-29

    Author: Brother Fu<br/>Blog: https://bugstack.cn Precipitate, share, grow, let yourself and others gain something! I. Introduction It doesn’t matter how many bowls of noodles you eat, as long as there is traffic! Now we receive more and more information every day, but many individuals do not have much ability to distinguish knowledge. A lot of knowledge […]

  • Chapter 6 of “Mybatis Manual Column”: Implementation of Data Source Pooling Technology

    Time:2022-11-28

    Author: Brother FuBlog: https://bugstack.cn –Handwritten Mybatis series articles Precipitate, share, grow, let yourself and others gain something! I. Introduction Code farmers, can only do but not talk? Did you find out that a large part of coders are only able to write codes, not to speak. When it comes to debriefing, defense, sharing, and reporting, […]

  • Quick Start with Spring Boot

    Time:2022-11-26

    talk nonsense first Although more of my work is dealing with databases, as aCoder, I think mastering the front-end and back-endWebTechnically it is very necessary. Not only can it help us better understand the pain points of people who are connected with you in other positions at work, but it can also be a powerful […]

  • MyBatis Source Code Study Notes (1) First Encounter

    Time:2022-11-25

    The beginning of this series of articles “When we talk about looking at the source code, what are we looking at” started in October last year, and today I started to fill in the pits of this series. MyBatis is the first ORM framework I came into contact with, and it is also the ORM […]