Spring boot implements read-write separation (based on Mybatis, mysql)

Recently, the task is relatively light, and I have free time to learn learning technology, so I come to study how to realize the separation of reading and writing. Here we use blog to record the process. On the one hand, it can be viewed in the future, and on the other hand, it can also be shared with you (most of the information on the Interne ...

Posted by ctoshack on Tue, 16 Jun 2020 23:22:11 -0700

Java--JDBC database connection pool

Java--JDBC database connection pool Blog description The information involved in this article comes from Internet collation and personal summary, which means personal learning and experience summary. If there is any infringement, please contact me to delete, thank you! concept In fact, it is a container (Collection) for database connection. A ...

Posted by hayson1991 on Tue, 16 Jun 2020 01:05:54 -0700

Java--JDBC database connection pool

Java--JDBC database connection pool Blog description The information involved in this article comes from Internet collation and personal summary, which means personal learning and experience summary. If there is any infringement, please contact me to delete, thank you! concept In fact, it is a container (Collection) for database connection. A ...

Posted by luke_barnes on Mon, 15 Jun 2020 22:21:15 -0700

[MyBatis] several commonly used configurations to optimize our core configuration files (simple, easy to understand)

After setting up the MyBatis environment, we can make some common optimizations or other settings for MyBatis catalog Before that, our core configuration file was written like this After that, our core configuration file is written like this Reference external profile Log factory Hump naming co ...

Posted by veenasv on Sat, 13 Jun 2020 19:20:02 -0700

Ganyibo ~ write a simple version of Mybatis, and take you to have a deep understanding of its charm!

Zero. Preparations <dependencies> <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java --> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>8.0.20</version> </dependency> <!-- https://mvnre ...

Posted by coco777 on Thu, 11 Jun 2020 20:04:13 -0700

Spring series. Dependency injection configuration

Configuration of dependency injection Spring's dependency injection includes constructor based dependency injection and setter based dependency injection. Constructor based dependency injection <!-- Dependency injection via constructor parameter index --> <bean id="byIndex" class="cn.javass.spring.chapter3.HelloImpl3"> &l ...

Posted by jd023 on Thu, 11 Jun 2020 00:44:42 -0700

SpringBoot Learning Notes--Automatic Configuration Principle

The properties that a profile can configure refer to: https://docs.spring.io/spring-boot/docs/current/reference/html/appendix-application-properties.html Principle of automatic configuration 1. When Spring Boot starts, the main configuration class is loaded, and the auto-configuration function is tu ...

Posted by fatherlyons on Mon, 08 Jun 2020 18:27:24 -0700

Installation, configuration and use of Sqoop

Article catalog title Introduction and characteristics summary Working mechanism Installation and configuration Common command operations of Sqoop Import data from the database into HDFS Export data on HDFS to database Introduction and characteristics Sqoop is a Hadoop And data transfer tools ...

Posted by Bac on Sat, 06 Jun 2020 04:23:27 -0700

My God? It's so simple to write the prototype of mybatis manually

preface mybaits is half of the world in ORM framework, because it is lightweight, semi-automatic loading, flexibility and extensibility. Deeply loved by the majority of companies, so our program development is inseparable from mybatis. But have we studied the mabtis source code? Or want to see but don't know how to look? In the final analysis, ...

Posted by padma on Sat, 06 Jun 2020 03:31:20 -0700

ElasticSearch7.x Series IV: actual combat

catalog preface ES series installation Data synchronization How to search ES in. net code Single Index and multiple Index Single field search and full text retrieval Multiple conditions, time range + paging + highlighting end preface The first three series understand the installation and s ...

Posted by MarcAndreTalbot on Sat, 30 May 2020 23:57:21 -0700