Detailed explanation of Mybatis knowledge points and solutions to problems encountered, dynamic agent, annotation and reflection

1.Mybatis: First meet Mybatis: Introduction to MyBatis Environmental description: jdk 8 +MySQL 5.7.19maven-3.6.1IDEA Before learning, you need to master: JDBCMySQLJava FoundationMavenJunit What is Mybatis: MyBatis is an excellent persistence layer framework MyBatis avoids almost all JDBC code and the process of manually setting param ...

Posted by PetrZagvazdin on Sun, 19 Dec 2021 18:00:50 +0100

maven ---- Analysis of project package build log

maven ---- log analysis during project packaging and construction Purpose of this paper   last article, maven ---- relying on Mediation Mechanism.   when we execute the mvn clean install command or when idea executes clean install, we will see a pile of logs printed on the console, and finally the printed jar package appears under ...

Posted by ThE_eNd on Fri, 17 Dec 2021 22:51:24 +0100

maven notes

settings.xml settings.xml location Label specifies the local save location of the local download dependency ${user.home}/.m2/repository means C: \ users \ username m2\settings. xml File | Settings | Build, Execution, Deployment | Build Tools | Maven's local repository in idea can be overwritten settings.xml content <?xml vers ...

Posted by payjo on Fri, 17 Dec 2021 21:51:30 +0100

Handwritten spring MVC framework

1.Spring The operation process of MVC is as follows.   Let's assume this scenario: DispatcherServlet is the boss in the MVC scene, and he does it himself. He has to review and approve everything. That day, he received a user request asking him to give a web page. He immediately gave his deputy handler mapping and said, "Xiao Liu, lo ...

Posted by SoccerGloves on Fri, 17 Dec 2021 15:02:46 +0100

Spring MVC RESTFul description

1 what is RESTFul RESTFul programming is a style, not a protocol. Interpretation of HTTP protocol (landing scheme) and landing of request mode There are 8 http protocols Serial numbermethoddescribe1GET  Request the specified page information. The request data is placed in the protocol header and the entity body is returned2POSTSubmit resou ...

Posted by ukalpa on Thu, 16 Dec 2021 17:30:05 +0100

Dynamic proxy for Spring learning 10

preface advantage It can make the operation of real characters more pure! Don't pay attention to some public businessThe public business is handed over to the agent, which realizes the division of businessWhen the public business is expanded, it is convenient for centralized management Disadvantages: A real role will produce an agent, doubl ...

Posted by DarkWater on Sun, 12 Dec 2021 00:12:57 +0100

Mybatis learning record

Introduction to Mybatis MyBatis is an excellent persistence layer framework, which supports custom SQL, stored procedures and advanced mapping. MyBatis eliminates almost all JDBC code and the work of setting parameters and obtaining result sets. MyBatis can configure and map primitive types, interfaces and Java POJO s (Plain Old Java Object ...

Posted by aquayle on Fri, 10 Dec 2021 16:02:34 +0100

Preliminary understanding log4j2 and use

Use of log4j2 Apache Log4j2 is an upgraded version of Log4j. It refers to some excellent designs of logback and fixes some problems, so it comes with Some major improvements have been made, mainly including: Exception handling. In logback, exceptions in the Appender will not be perceived by the application, but in log4j 2, some exceptions ...

Posted by webchef on Thu, 09 Dec 2021 17:25:45 +0100

hadoop HDFS folder creation, file upload, file download, folder deletion, file renaming, file details, file type judgment (folder or file)

Absrtact: This article mainly introduces the use of the basic api of hadoop hdfs. Including Windows side dependency configuration and Maven dependency configuration. The last is the actual operation, including: obtaining the remote hadoop hdfs connection and a series of operations on it, including; Folder creation, file upload, file download, f ...

Posted by The_Walrus on Thu, 09 Dec 2021 05:10:08 +0100

[crazy God says Java] JUC concurrent programming

[crazy God says Java] JUC concurrent programming preparation Create a Maven project and introduce a lombok dependency <dependencies> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.8</version> & ...

Posted by mark bowen on Wed, 08 Dec 2021 03:39:44 +0100