mybatis source code - initialization configuration

Our debugging environment: Debug code: public class MyaaTest { public static void main(String[]args) { String resource = "config.xml"; try { //1. Read configuration file InputStream in= Resources.getResourceAsStream(resource); SqlSessionFactor ...

Posted by gere06 on Wed, 17 Jun 2020 07:42:02 +0200

Web loading speed optimization

introduction Due to the recent work requirements, the user's loading speed needs to be greatly optimized.Next, I will make a summary from the aspect of network request optimization. 😀 Some pictures are Sprite Sprite map is also called CSS sprite. It is a kind of CSS image synthesis technology, which can reduce network requests by making multipl ...

Posted by nano on Mon, 15 Jun 2020 09:28:52 +0200

J2EE project instance super detail

J2WEB course design example I found a good article about database query display error: Analysis of mysql coding errors. And then I have a crack free version navicat . extraction code: dv6k catalog Project Name: xixijiaxiang online e-book City Project background: (if I think about it myself, I won ...

Posted by brucensal on Mon, 15 Jun 2020 07:23:16 +0200

The first part of Spring source code is open and complete! How is the configuration file loaded?

Last week, I put my words out. It seems that all my friends are looking forward to it. In fact, SongGe can't wait to start a new series. However, the current Spring Security series is still in the process of serialization and has not been completed yet. It's a series of events. Keep your spirits up, and then you'll lose three times. It must be ...

Posted by one on Mon, 15 Jun 2020 05:11:04 +0200

Mybatis framework learning delay loading

catalog Delay loading Implement delayed loading Delay loading using allocation Using Collection to delay loading Delay loading It is to load data when it is needed, and not to load data when it is not needed. Lazy loading is also called lazy loading Advantages: query from single table first, ...

Posted by theDog on Sun, 14 Jun 2020 11:24:43 +0200

Spring Cloud notes - Hystrix circuit breaker

1. Overview 1. Problems faced by distributed system In the complex distributed architecture system, the failure of mutual service calls cannot be avoided. If the call link of A service is relatively long, the probability of such call failure will be higher. For example, if A calls B, B calls C, C c ...

Posted by pelleas1022 on Sun, 14 Jun 2020 10:11:18 +0200

spring boot series mybatis paging query

Article catalog preface Introducing pagehelper dependency application.yml Medium configuration Add interface Test paging query interface Problem summary application.yml Configuration of pagehelper in preface If you use mybatis to write paging query, it's troublesome. You need to write the select ...

Posted by dicamille on Sun, 14 Jun 2020 09:01:08 +0200

Using AspectJ to implement AOP function in Spring 5 framework

1. Preface The most common way in development is to use Aspect to realize AOP function. Next, we will simply use @ Aspect to realize AOP Aspect oriented programming. For the usage of Spring native AOP, please refer to the previous blog post AOP proxyfactory underlying implementation of spring 5 frame ...

Posted by jerryroy on Sun, 14 Jun 2020 07:54:54 +0200

Summary of Spring IOC knowledge points

@Configuration configure spring and start the spring container @Configuration is used to define the configuration class, which is labeled on the class, which is equivalent to < beans > in the xml configuration file of spring. Its function is to configure the spring container (application context) Example description: Configuration class @ ...

Posted by lyealain on Sun, 14 Jun 2020 07:17:49 +0200

Android Solution for page instability after turning on hot spots

1 Question After Android 8.0, we turned on hotspots in the following way, but when we jump to the page, the hotspots will be disconnected and the phones will not be able to transfer files to each other. Permission Instructions: Android 8.0 requires location and GPS permissions, while hot spots on mobile phones cannot be turned on. if (Build. ...

Posted by GirishR on Sat, 13 Jun 2020 01:55:59 +0200