Beauty of Mybatis source code: 2.13. Parse the databaseIdProvider element and configure the database type unique flag generator

Parse the databaseIdProvider element and configure the database type unique flag generator An interface named DatabaseIdProvider is defined in mybatis. The function of this interface is to obtain the unique flag of different data sources in mybatis. DatabaseIdProvider defines two methods, setProperties() method is used to configure custom prope ...

Posted on Sat, 27 Jun 2020 02:10:05 -0400 by PHPoracle

Beego Learning Notes 13:Api Writing

Api Writing 1> The common data formats used by api are json and xml. 2> Here's how different data formats are used 1->JSON data direct output. After calling ServeJSON, the content-type is set to application/json, and the data is serialized as JSON output 2->Direct output of XML data After calling ServeXML, the content-type is set to ...

Posted on Fri, 26 Jun 2020 12:14:22 -0400 by Qlubbie

My little goal

Made a project, maven+IDEA+MySQL Because of frequent computer crashes and other reasons, I put it in my blog, share it, and record the process and problems I met. Whether I can grow up or not depends on the response of the caretaker. Every place with a yellow background is the pit I met. Title creat ...

Posted on Fri, 26 Jun 2020 02:24:51 -0400 by rharden

Integrating SSM's Demo

Article catalog 1. Version selection 2. Using maven to create a project (project structure) image-20200626115714873 3.pom.xml 4. Configuration file (under resources) Configuration files for spring( applicationContext.xml) springmvc-config.xml mybatis-config.xml jdbc.properties log4j.properties mappe ...

Posted on Fri, 26 Jun 2020 01:06:14 -0400 by Pintonite

RabbitMQ and SpringBoot integration

To integrate RabbitMQ with SpringBoot, first we need to create a new SpringBoot project, which is divided into two sub modules: producer and consumer. Then we need to introduce related RabbitMQ dependencies, as follows: <dependency> <groupId>org.springframework.boot</groupId> < ...

Posted on Fri, 26 Jun 2020 00:47:20 -0400 by Roman Totale

Android build process - Part 2

Android build process - Part 2 Pre operation task list How to view a task class Task1: checkDebugClasspath 1. input/output 2. How to find the task implementation class 3. Core class (AppClasspathCheckTask) Task2: preDebugBuild 1. input/ouput 2. Core class (AppPreBuildTask) Task3: compileDebugAidl ...

Posted on Thu, 25 Jun 2020 22:42:13 -0400 by jason102178

04. Relative Layout of Android Development Foundation

Relative Layout of Android Development Foundation Relative layout, that is, the layout with reference objects.When we were young, we went to school, between classmates and classmates, who was on whose right and who was on whose left!This is for whom!The relative layout in Android is the same! There are two kinds, one is relative to the fathe ...

Posted on Thu, 25 Jun 2020 12:33:12 -0400 by pillot1005

Source code analysis of Zhiyu dubbo

dubbo source code analysis file dubbo load profile dubbo service provision 1. Verify configuration information 2. Create URL 3. Local registration 4. Remote registration 4.1 enable netty server 4.2 connect to the registration center zk and write information 4.3 monitoring Registration Center dubbo ...

Posted on Thu, 25 Jun 2020 07:08:24 -0400 by jahwobbler

Spring 7 -- developing spring based on annotation

Developing spring based on annotation There are two forms of spring IOC containers: (1) XML configuration file: applicationContext.xml ; Save bean: < bean > Take bean: ApplicationContext context=new ClassPathXmlApplicationContext("applicationContext.xml"); (2) Annotation: class with @ Configuration annotation (Configuration class) De ...

Posted on Wed, 24 Jun 2020 23:02:23 -0400 by sunil.23413

Property Injection

Injection in springboot Basic Property Injection @Value Object Mode Injection @ConfigurationProperties Comparison of two injection modes Injection Details Profile Injection Value Data Check@Validated Load the specified configuration file @PropertySource Import Spring's Configuration File@ImportResou ...

Posted on Wed, 24 Jun 2020 22:41:17 -0400 by RonDahl