SSM=Maven build project and Maven sub module build project

1, General knowledge of software development (1) Project development process 1. Project approval Project implementability analysis: (a project) 100W project, the development cycle is expected to be 6 months, 10 people are needed, and the operation (human) cost is 2W / person The product manager st ...

Posted by andybrooke on Mon, 08 Jun 2020 22:30:50 -0700

With all due respect, I doubt you can enumerate in Java

Let's face it, enum (enumeration) is a keyword introduced in Java 1.5. It represents a special type of class. By default inherit From java.lang.Enum . To prove this, let's create a new enumeration player type: public enum PlayerType { TENNIS, FOOTBALL, BASKETBALL } There are two keywords w ...

Posted by Irvin Amoraal on Sun, 07 Jun 2020 20:17:15 -0700

My God? It's so simple to write the prototype of mybatis manually

preface mybaits is half of the world in ORM framework, because it is lightweight, semi-automatic loading, flexibility and extensibility. Deeply loved by the majority of companies, so our program development is inseparable from mybatis. But have we studied the mabtis source code? Or want to see but don't know how to look? In the final analysis, ...

Posted by padma on Sat, 06 Jun 2020 03:31:20 -0700

An in-depth analysis of mybatis

Java mentions the persistence layer framework. I believe no one doesn't know the existence of mybatis. Compared with JDBC, it has a more capable (JDBC workload is large), and compared with Hibernate, it has a more flexible (although HQL is convenient, it is too inflexible). Today we are going into her world together. 1, Simple implementation o ...

Posted by Yucky on Sat, 30 May 2020 15:15:43 -0700

Build the spring cloud microservice framework: VI. database persistence layer - spring datajpa

Build microservice framework (database persistence layer spring datajpa) Used to Mybatis, this time for a change, integrate spring datajpa in SQuid. Source address: Build microservice framework (database persistence layer spring datajpa) Github address: SQuid introduce I've heard of HibernateJPA before, but I've never used it. Mybatis i ...

Posted by vimukthi on Fri, 29 May 2020 04:31:05 -0700

MyBatis code generator - based on Maven plug-in

MBG is the official code generator of MyBatis. MBG can automatically generate entity classes, Mapper interfaces and corresponding XML files, which can reduce the workload of developers to a certain extent. This paper introduces how to use MBG Maven plug-in. 1, In pom files, dependency packages and plug-ins are introduced. <dependency ...

Posted by WormTongue on Tue, 26 May 2020 10:01:20 -0700

20. Use and principle of PageHelper paging plug-in

1. Logical paging and physical paging Logical paging: also called memory paging. Logical paging depends on the code written by the programmer. What the database returns is not the paging result, but all the data, which is then passed by the programmer The code obtains the paging data, takes out all the data, first stores it in memory, ...

Posted by ChetUbetcha on Mon, 25 May 2020 20:53:31 -0700

MyBatis Series Talking about SQL Execution Process Analysis

Catalog Use Mybatis on its own Mybatis Execution Process SqlSessionFactory\SqlSession MapperProxy Excutor Use Mybatis on its own This article focuses on analyzing the Mybatis framework's processes for executing SQL. Recalling that we used the Mybatis semi-automation framework on our own, we needed to follow t ...

Posted by BradZynda on Fri, 15 May 2020 17:17:44 -0700

15. Chapter 15 of spring cloud Alibaba, upgrade, distributed transaction solution, Seata

Chapter 14 of SpringCloud Alibaba, upgrade, distributed transaction solution, Seata 1, Overview of distributed transactions 1. What is distributed transaction With the rapid development of the Internet, the software system has changed from the original single application to the distributed application. The distributed system will split an appli ...

Posted by fatmcgav on Sat, 09 May 2020 02:57:10 -0700

Java paging data through laypage plug-in of layui

Recently, you need to paginate the data on a page of spring MVC + mybatis project. The general idea is to create two hidden input boxes on the page to save the pageNum of the current page and the number of pieces of data displayed on each page pageSize. Modify the corresponding values each time you paginate, and then transfer the pageNum and pa ...

Posted by w00kie on Thu, 07 May 2020 07:05:21 -0700