JDBC connection pool
preface
Better manage the connection with the database, avoid memory leakage and server crash due to too many connections, and reduce resource consumption.
1, Database connection pool
1. The necessity of JDBC database connection pool
When developing web programs based on database, the traditional mode basically follows the followi ...
Posted by plodos on Mon, 29 Nov 2021 10:17:24 -0800
Two methods of integrating MongoDB in Spring series
MongoDB is the most popular NoSQL database, and SpringBoot is a best practice for using Spring. Today, let's talk about the two ways SpringBoot integrates MongoDB. The installation of MongoDB can be queried on the official website. The most convenient way for local development is to use Docker.
1, Preparatory work
1. Engineering generation
...
Posted by RobMs on Fri, 19 Nov 2021 18:33:00 -0800
Druid Read XA Connection Initialization
Catalog
1 Initialize DruidXADataSource
2 Initialize Atomikos DataSourceBean
1 Initialize DruidXADataSource
Initializing DruidXADataSource is done by the application developer as follows:
/**
* jdbc.ds1 Get configuration information, initialize druidDataSource1
* @return
*/
@Bean(name="druidDataSource1")
@Configurati ...
Posted by fonecave on Wed, 17 Nov 2021 09:16:04 -0800
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
Building a big data environment for user portrait -- building a real-time user portrait from scratch
In this chapter, we started to formally build a big data environment, with the goal of building a stable big data environment that can be operated and monitored. We will use Ambari to build the underlying Hadoop environment, and use the native way to build Flink, Druid, Superset and other real-time computing environments. Use the combinatio ...
Posted by allinurl on Sun, 31 May 2020 20:43:34 -0700
Learn from me about the design and implementation of spring boot development backend management system 8: matrxi web permission
The last article describes the idea of permission control implemented by matrix web as a whole. Let's review:
First of all, the user needs to log in and fill in the user name and password. The backend receives the login request and verifies the user and password. After the verification is successful, the Token is generated according to the u ...
Posted by sparrrow on Thu, 28 May 2020 19:14:15 -0700
Love! Share a spring boot based API, restful API project seed (skeleton)
Preface
Recently, I have used Spring Boot with MyBatis, general Mapper plug-in and PageHelper paging plug-in to do several small and medium-sized API projects. I feel that it is very comfortable to develop this project with this set of framework and tools, and the team's response is also good. In the process of project construction and develop ...
Posted by northk on Tue, 05 May 2020 03:08:29 -0700
Spring integrates MyBatis bulk insertion
The for loop has been used for single insertion before. When the traffic volume increases to tens of thousands, a Connection is null error will be reported. This is the first time I have encountered this business scenario. Record the following. If I know more, I will continue to update this article.
Combined posts: ...
Posted by dwfait on Mon, 04 May 2020 08:33:47 -0700
Using mybatis plus 3.1.2 and Druid 1.1.20 invalidates the serialization and deserialization of localdateformat to a custom date format string
Time record
April 21, 2020
Preface
At present, the project reconstruction adopts springboot2.1.13 to integrate mybatis-plus3.1.2 and druid connection pool 1.1.20. When the response body json result set and the request body json result set are returned in the controller controller controller, both serialization and dese ...
Posted by dnice on Mon, 20 Apr 2020 21:29:42 -0700