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
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
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
1. Version selection
2. Using maven to create a project (project structure)
4. Configuration file (under resources)
Configuration files for spring( applicationContext.xml)
Posted on Fri, 26 Jun 2020 01:06:14 -0400 by Pintonite
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:
Posted on Fri, 26 Jun 2020 00:47:20 -0400 by Roman Totale
Android build process - Part 2
How to view a task class
2. How to find the task implementation class
3. Core class (AppClasspathCheckTask)
2. Core class (AppPreBuildTask)
Task3: compileDebugAidl ...
Posted on Thu, 25 Jun 2020 22:42:13 -0400 by jason102178
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
dubbo source code analysis
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
Posted on Thu, 25 Jun 2020 07:08:24 -0400 by jahwobbler
Developing spring based on annotation
There are two forms of spring IOC containers:
(1) XML configuration file: applicationContext.xml ;
Save bean: < bean >
ApplicationContext context=new ClassPathXmlApplicationContext("applicationContext.xml");
(2) Annotation: class with @ Configuration annotation (Configuration class)
Posted on Wed, 24 Jun 2020 23:02:23 -0400 by sunil.23413
Injection in springboot
Basic Property Injection @Value
Object Mode Injection @ConfigurationProperties
Comparison of two injection modes
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