Using SpringBoot+MyBatis+MySQL to upload pictures

I. technical parameters: SpringBoot 1.15.6.RELEASE MyBatis-SpringBoot 1.3.2 MySQL 5.1.30 Database connection pool: druid Maven 3.5.9 Project pom file: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schem ...

Posted on Mon, 02 Dec 2019 20:29:56 -0800 by DaPrince

springboot learning: springboot quickly integrates Druid

Druid connection pool brief introduction The druid connection pool, which is open-source by Alibaba, is the database connection pool with the most outstanding comprehensive strength at present, and it also provides the function of monitoring logs, which can analyze the execution of SQL. Introducing druid connection pool Add to pom.xml <depen ...

Posted on Tue, 26 Nov 2019 06:25:38 -0800 by Poofman

Did you know about bulk insertion of Spring Data JPA?

Implementation Scenario Recently, I was writing a business about collage travel, which has a logical implementation: a collage Activity table Activity corresponds to multiple Travel travel tables, a travelling travel table stores the List <TravelSchedulingVO> from the front-end in segments, and a Travel table stores each piece of data ...

Posted on Wed, 20 Nov 2019 21:54:30 -0800 by trystan

Using Spring AbstractRoutingDataSource to manage multiple data sources

1. Principle of multi data switching: the core of multi data source dynamic switching is that the bottom layer of spring provides AbstractRoutingDataSource class for data source routing. We mainly inherit this class and implement the methods in it. The main implementation method is: determineCurrentLookupKey(), which only needs to return the ...

Posted on Sun, 10 Nov 2019 09:02:12 -0800 by gauravupadhyaya

Spring Boot 2 Series Tutorial Spring Boot Integrates JdbcTemplate Multiple Data Sources

Multiple data source configuration is also a common development requirement. There are solutions for this in Spring and SpringBoot, but generally, if there is a need for multiple data sources, I would recommend that you prefer the distributed database middleware MyCat to solve the problem. A small partner asked questions on my knowledge planet ...

Posted on Thu, 07 Nov 2019 19:13:55 -0800 by LinuxForce

Java's new project learning online notes-day15

3 online learning interface 3.1 requirement analysis According to the business process below, this chapter completes the front-end learning page to request the learning service to obtain the course video address, and automatically plays the video.3.2 build development environment 3.2.1 create database Create XC ﹣ learning database, which will ...

Posted on Fri, 01 Nov 2019 11:34:43 -0700 by webpoet

SpringBoot2 integrates ClickHouse database to achieve high performance data query and analysis

This article source code: GitHub. Click here || GitEE. Click here Introduction to ClickHouse 1. Basic Introduction Yandex open source data analysis database, named ClickHouse, is suitable for streaming or batch warehousing of sequential data. ClickHouse should not be used as a general database, but as a distributed real-time processing platfor ...

Posted on Tue, 08 Oct 2019 21:59:48 -0700 by ubersmuck

Simple Construction of SSM Integration Project

1. New Web Project 2. Add jar packages 3. Through reverse engineering, the corresponding entity and mapping files and interfaces are generated as follows 4. Create configuration files 4.1 spring configuration file (1) 4.1.1 Application Context-dao.xml (dao layer configuration file) <?xm ...

Posted on Tue, 08 Oct 2019 02:10:39 -0700 by trackz

Use of Druid Database Connection Pool

Use of Druid Database Connection Pool I. Basic use of Druid_ Druid: database connection pool implementation technology, provided by Steps: 1. Import the jar package druid-1.0.9.jar * Don't forget to import database-driven jar packages 2. Define the configuration file: * It's in the form of p ...

Posted on Mon, 07 Oct 2019 04:39:35 -0700 by emdee

druid database connection pool password encryption processing (official network)

Use ConfigFilter The functions of ConfigFilter include: Read the configuration from the configuration file Read configuration from remote http file Encryption for database passwords 1 ConfigFilter Configuration 1.1 Configuration file read from local file system <bean id="dataSource" class ...

Posted on Sun, 06 Oct 2019 15:21:14 -0700 by dtyson2000