Spring source code analysis 10: automatic configuration of Mybatis in spring boot

Article catalog 1, Foreword 2, MybatisAutoConfiguration 1. Declaration of mybatisautoconfiguration. 2. SqlSessionFactory injection 3. Injection of autoconfiguredmapperscannerregistrar 4. Encapsulation of mypper MapperFactoryBean 3, MapperScannerConfigurer 1. processPropertyPlaceHolders(); 2. Gener ...

Posted on Sun, 14 Jun 2020 05:41:37 -0400 by labourstart

Android architecture component -- ViewBinding learning notes

Android architecture components – ViewBinding learning notes 1. Problems solved The purpose of ViewBinding is to reduce the use of template code findViewById(int), improve development efficiency, and simplify the code of Activity and Fragment. 2. Using ViewBinding The use of ViewBinding req ...

Posted on Sun, 14 Jun 2020 04:40:48 -0400 by Wes1890

Spring boot core log

1. Log framework Xiao Zhang; develop a large system; ​ 1, System.out.println(""); print key data on the console; remove the "key data" button? Write in a file? 2. Framework to record some runtime information of the system; log framework; zhanglogging.jar ; 3. How many functions ar ...

Posted on Sun, 14 Jun 2020 00:41:48 -0400 by jobs

Stage 5: microservice system development: Spring Cloud getting started operation manual (day01)

Stage 5: distributed system development: microservice system development (day01) http://doc.canglaoshi.org/ Article catalog Chapter 1: Spring Cloud development environment Chapter 2: introduction to spring cloud framework Section 1: introduction to the concept of spring cloud Section 2: composition ...

Posted on Sat, 13 Jun 2020 06:18:57 -0400 by mlewis

Spring Data Elasticsearch4.0.1 Chinese translation document (sections 8-11)

8. Elasticsearch Repositories This chapter includes details of the implementation of the elastic search repository 8.1.1. Query methods The elastic search module supports all basic query building features, such as string queries, native search queries, condition based queries, or derived queries from ...

Posted on Sat, 13 Jun 2020 04:11:07 -0400 by Fabrizzio PHP

MyBatis first day of study

Introduction The mybatis framework is a Java-based persistent layer framework that supports custom frameworks. This article is mainly to understand the mybatis framework, to give a simple introduction to the mybatis framework, to understand how the mybatis framework achieves the operation of the Java ...

Posted on Fri, 12 Jun 2020 21:34:54 -0400 by beinerts

[SpringCloud] 12 Hystrix Fuse

1. What is Hystrix and why do I need him? 1. In the micro-service architecture, services are split into individual services based on business, and there is a dependency between services (e.g. user adjusts commodities, Adjust inventory, order, etc.), using RestTemplate+Ribbon and Feign between multiple ...

Posted on Thu, 11 Jun 2020 21:46:36 -0400 by shainh

Chapter 5 advanced CustomView animation

It is difficult to achieve some complex animation effects only by changing the control properties, such as the Nexus boot animation. This will show how to use PathMeasure and SVG animation to achieve complex animation effects. initialization: PathMeasure is similar to a calculator. It can calculate ...

Posted on Thu, 11 Jun 2020 03:34:19 -0400 by steve m

Learning notes on knowledge points of HttpServlet

Servlet concept step Principle of execution life cycle Servlet 3.0 annotation configuration The architecture of Servlet GenericServlet: the default null implementation of other methods in the Servlet interface, only the service() method as an abstraction When defining a Servlet class in t ...

Posted on Thu, 11 Jun 2020 02:31:38 -0400 by Duswa

Using Kotlin to develop Android application (10) - Navigation of architecture components

Navigation of architecture components Navigation component is a library that can manage complex navigation, transition animation, deep link and compile time check parameter transfer among multiple screens in the application To use Navigation, you need to build.gradle Add dependency to: implementation 'androidx.navigation:navigation-fragment: ...

Posted on Thu, 11 Jun 2020 00:51:42 -0400 by df75douglas