In depth understanding of Mybatis configuration file

1, Depth of Mybatis configuration file 1.1,SqlMapConfig.xml Hierarchical relationship of Mybatis's core configuration file Common configuration analysis of Mybatis 1. environments tab Database environment configuration, supporting multi environment configuration There are two types of transaction manager: JDBC: this configuration direct ...

Posted by compt on Tue, 08 Mar 2022 20:53:15 +0100

Spring cloud Nacos and feign report errors: Java lang.IllegalStateException: No Feign Client for loadBalancing defined

Problem description Recently, during the process of using the latest version of nacos and feign, an error was encountered during startup: Caused by: java.lang.IllegalStateException: No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalancer? Puzzled, the previous version of spring cloud did ...

Posted by lisawebs on Tue, 08 Mar 2022 20:32:23 +0100

Chained storage is based on java

1 linked list structure The sequence table has the following disadvantages: When inserting or deleting nodes, it is often necessary to move a large amount of dataIf the table is large, it is sometimes difficult to allocate enough memory space, which may lead to memory allocation failure and unable to store In order to overcome the shortcomin ...

Posted by shafiq2626 on Tue, 08 Mar 2022 20:21:09 +0100

QQ automatically sends messages - maintaining the flame of group chat

The author's original intention is very simple: because one day the flame of group chat that has lasted for a long time suddenly disappeared... So he made up his mind to complete the script program that can automatically send messages At present, there are three ways to realize it: Mobile terminal (qnotified & other modules supporting j ...

Posted by leapingfrog on Tue, 08 Mar 2022 20:04:12 +0100

Servlet basic tutorial

1. HTTP protocol    HTTP (hypertext transport protocol) protocol, which specifies the rules for mutual communication between browsers and World Wide Web servers. 1.1 characteristics of HTTP protocol Support client / server mode. Simple and fast: when a client requests a service from the server, it only needs to send the reque ...

Posted by beinerts on Tue, 08 Mar 2022 19:56:36 +0100

Java Foundation Part III_ object-oriented

Java object oriented Process oriented & object oriented Process oriented The steps are clear and simple. What to do in the first step and what to do in the second step Process oriented is suitable for dealing with some simple problems object-oriented Birds of a feather flock together, which is the thinking mode of classification. When ...

Posted by patnet2004 on Tue, 08 Mar 2022 19:14:48 +0100

Java learning - common classes (being improved)

Object class Object() Constructor. @HotSpotIntrinsicCandidate public Object() {} @HotSpotIntrinsicCandidate is an annotation, which will be skipped temporarily and summarized later. Returns the runtime class of this Object. The returned class Object is the Object locked by the static synchronized method representing the class. T ...

Posted by PastorHank on Tue, 08 Mar 2022 19:00:51 +0100

Universal parallel search set - Implementation Based on QuickUnion (Java language)

For the implementation of parallel query set based on basic data type, please refer to QuickUnion. The underlying implementation of user-defined object and query set: linked list + Map mapping [the linked list here is represented as a tree] Logically: multiple trees from bottom to top. The array can no longer meet the requirements of user-de ...

Posted by kristian_gl on Tue, 08 Mar 2022 18:42:34 +0100

Java Foundation - Data Types and Variables

Catalog 1. Java data types 2. Variables 2.1 Variable concept 2.2 Classification of variables in Java 2.3 Discussion on Value Range of Basic Data Types 2.4 Integer Variables 2.4.1 integer variable 2.4.2 Long Integer Variables 2.4.3 Short Integer Variables 2.4.4 byte type Notes in 2.4.5 Operations 2.5 Floating Point Variables 2.5.1 ...

Posted by new2code on Tue, 08 Mar 2022 18:13:11 +0100

Analysis of HashMap source code based on JDK8

preface At present, the JDK version used is basically 1.8 or above. In most interviews, you will ask what is the difference between JDK7 and JDK8 versions of HashMap. HashMap is in jdk1 8, the red black tree is added on the basis of array + linked list. What are the benefits of doing so? In this paper, jdk1 8 version of HashMap to do a s ...

Posted by bradleyy on Tue, 08 Mar 2022 16:51:14 +0100