Druid is the best database connection pool in the Java language and provides powerful monitoring and extension capabilities.
After comparing Druid with HikariCP, although HikariCP has a higher performance than Druid, Druid includes many dimensions of statistical and analytical functions, which is why everyone chooses t ...
Added by cwarn23 on Sat, 04 Jul 2020 18:32:49 +0300
Today, the project is not busy. I want to have a look at the sharding JDBC sub database and sub table. I want to achieve the following:
Discard the xml configuration and use. yml or. properties file + java to configure spring.
Use Druid as database connection pool, open monitoring interface at the same time, and support monitoring multiple dat ...
Added by htcilt on Thu, 11 Jun 2020 06:47:20 +0300
1, Problem description
2, Step by step analysis of problems
1, java.net.SocketException : how is the broken pipe exception generated? What's the impact?
2. Why is the database TCP connection broken?
3. The effect of firewall cutting off database connection
1. Adjust the cut-of ...
Added by Popcorn on Fri, 05 Jun 2020 10:51:02 +0300
Druid is a database connection pool implementation on Alibaba open source platform. It combines the advantages of C3P0, DBCP, PROXOOL and other DB pools, and adds log monitoring. It can monitor the connection of DB pool and the execution of SQL. It can be said that Druid is a DB connectio ...
Added by hpg4815 on Sun, 03 May 2020 00:27:55 +0300
1. JDBC Driver
1. Loading through containers:
For Java applications with containers, the corresponding driver jar packages can be placed directly in the lib directory of the container, such as web applications using Tomcat as a container, and the driver can be copied to the lib subdirectory of tomcat.
2. Application Runtim ...
Added by Exoon on Mon, 17 Feb 2020 01:22:41 +0200
java web servlet: HttpServlet class, configuration of Servlet class based on @WebServlet() comment
tomcat project deployment
druid database connection pool
java web integrated development environment: IntelliJ IDEA
Added by tolli on Tue, 28 Jan 2020 04:11:37 +0200
New spring boot project, dependent
Added by trexx on Fri, 03 Jan 2020 23:44:44 +0200
When learning spring boot (in this case, when integrating mybatis+druid), because there are too many configurations written in a single yml configuration file, it is obviously redundant, so it is configured separately.
However, when loading the druid database configuration information, it is found that the relevant parameters cannot be read (it ...
Added by windjohn on Sun, 15 Dec 2019 23:10:18 +0200
SpringBoot from getting started to giving up, Chapter 4
I. springboot integrates JDBC and DRUID
Added by hthighway on Thu, 14 Nov 2019 16:41:21 +0200
After checking on the Internet, I didn't find a solution to the problem, so after solving the problem, I sorted it out on the Internet to help my friends in need.
When spring boot integrates Druid, it introduces the data source of druid and configures the relevant configuration in the configuration file application.yml
Added by hexguy on Thu, 07 Nov 2019 22:24:16 +0200