[untitled] JavaSE learning experience

Words written at the beginning After the end of the postgraduate entrance examination in 2021, I feel that time has passed quickly. The postgraduate entrance examination not only brings me systematic learning of basic knowledge, but also teaches me how to learn and think about myself. It also gives me the courage and perseverance to face anyth ...

Posted by Tubby on Mon, 03 Jan 2022 23:09:54 +0100

Day 7 of SpringBoot self-study - thymeleaf + interceptor writes web page login function

Previous chapter Day 6 of SpringBoot self-study - anyone who dies and climbs the template home's member paid boutique website template preface Some problems in the video were barely solved, but the progress was only six videos. The @ Slf4j annotation in lombok is quite useful. It is recommended to use it. Raytheon's web page (the ...

Posted by mars16 on Mon, 27 Dec 2021 21:43:24 +0100

Development efficiency artifact, mybatis plus

Daily Maxim I am confident, so I succeed. mybatis plus Required Foundation: ssm javaweb mysql javaSE Knowledge points that must be learned Why learn from him? Is mybatis not enough? mybatis is very convenient, and plus will certainly be more convenient brief introduction Mybatis simplifies jdbc, and mybatis plus simplifies mybatis ...

Posted by dineshsjce on Sat, 25 Dec 2021 23:47:19 +0100

Springboot Starter Training 5 Thymeleaf MVC Project Setup

When we develop the spring boot web project, we need to use JSP for view layer functionality. At this time, we will find a problem. This JSP page is very original and cannot use complex tags. We need to write business code in the most original java+jsp mixed-up way. It is inconvenient to use, and for convenience we need to import third-party ta ...

Posted by jackohara on Sat, 25 Dec 2021 04:16:18 +0100

The mismatch between entity class attribute name and field name in database in MyBatis development

In the development, we often encounter that the entity class attributes are named by hump, and the underscores are used in the database_ As a result, the attribute name in the entity class does not correspond to the field name in the database: In java code, we usually use hump naming public class Staff { private Integer id; private St ...

Posted by rayner75 on Fri, 24 Dec 2021 14:43:10 +0100

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

Java talk about throws and try Will the subsequent code of several cases of catch execute (ParseException)

background The following describes ParseException as an example. import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; public class MyException { public static void main(String[] args){ SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd"); Date date = sdf.parse("2021-0829"); ...

Posted by maplist on Sat, 18 Dec 2021 15:21:21 +0100

30 seconds to start the new generation of Http request artifact RxHttp, IDEA is too strong

sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation 'com.github.liujingxing.rxhttp:rxhttp:2.6.0' implementation ‘com.squareup.okhttp3:okhttp:4.9.0’ //rxhttp v2. Since version 2.2, you need to manually rely on okhttp kapt ‘com.github.liujingxing.r ...

Posted by mbbout on Thu, 16 Dec 2021 07:10:31 +0100

06 - object oriented upgrade (object oriented)

Thank you for passing by. I hope the student's notes can give you a trivial reference (1 / 100) Java object-oriented mind map, [link to the complete Java Architecture] 1, Encapsulate private 1.1 significance:     Protect or prevent code from being inadvertently damaged, protect member properties, and prevent programs outside t ...

Posted by binto on Tue, 07 Dec 2021 19:36:06 +0100

Summary notes of operations in ElasticSearch based on crazy God Theory

ElasticSearch installation Statement: JDK1.8! ElasticSearch client, interface tool! Based on Java development, the version of ElasticSearch corresponds to the core jar package of java! Download address Official website: https://www.elastic.co/cn/ Download address: https://www.elastic.co/cn/downloads/elasticsearch Here is t ...

Posted by programmingjeff on Sat, 04 Dec 2021 02:21:30 +0100