Detailed configuration of spring-boot-plus

Public Configuration application.yml 👉 Official Full Configuration for SpringBoot Tomcat related configuration server: servlet: context-path: /api tomcat: max-threads: 1000 min-spare-threads: 30 uri-encoding: UTF-8 context-path: project access path max-threads:tomcat thread pool size setting min-spare-threads: number of to ...

Posted on Mon, 12 Aug 2019 09:13:30 -0700 by mjs87

Hand-in-hand teaching you how to build standard systems with spring boot (2) -- multiple data sources

Define several issues: What is a standard system? Standard systems are the initial systems of system architects, including all the basic integration technologies of business systems, on which any application system can be developed. Technology used in standard systems and ultimate goals a. Using sp ...

Posted on Fri, 02 Aug 2019 02:05:35 -0700 by PHPnewby!

Learning Notes - User Login Case

Demand: Write login.html login page Using Druid database connection pool technology to manipulate user tables in mysql database Encapsulation of JDBC using JdbcTemplate Technology Log in successfully jumped to Success Servlet display: Log in successfully! User name, welcome to you Logon Failure Jump to ...

Posted on Wed, 31 Jul 2019 01:43:03 -0700 by big_al

Instructions for the use of Framework

framework can be used by introducing maven dependencies:<dependency>     <groupId>com.jztey</groupId>     <artifactId>framework</artifactId> </dependency>It is important to note that the framework contains a wide range of content. In order to avoid dependency passing, a ...

Posted on Tue, 18 Jun 2019 17:49:30 -0700 by the_Igel

Springboot series uses Spring data jpa to access databases

Old bookshelf Preface Spring boot data JPA and Spring JDBC belong to Spring open source organization. After Spring jdbc, a persistence layer framework has been developed. It is obvious that Spring data jpa is more convenient and powerful than Spring jdbc, otherwise there is no need for development. Start experiencing the char ...

Posted on Sat, 04 May 2019 00:30:38 -0700 by aprinc

Details of DRUID connection pool configuration

DRUID introduction 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 DB pool connections and the execution of SQL very well. It can be said that it is a DB connection pool for monitoring (it is s ...

Posted on Thu, 02 May 2019 10:10:37 -0700 by fesan

Case Analysis of MySQL Database Read-Write Separation Using Spring AOP

I. Preface The strategy of database Read-write separation in distributed environment is a key solution to solve the bottleneck of database Read-write performance. It also maximizes the speed and concurrency of data Read in applications. In the process of database read-write separation, we first need to configure the master-s ...

Posted on Tue, 23 Apr 2019 15:45:34 -0700 by bogins

SpringBook Travel Part 5 - Data Access

I. Introduction Most systems are inseparable from data access. Databases include SQL and NOSQL. SQL refers to relational databases. Common ones are SQL Server, Oracle, MySQL (open source). NOSQL refers to non-relational databases in general. Common ones are MongoDB and Redis. JDBC, Mybatis and Hibernate are commonly used ORM frameworks in spr ...

Posted on Mon, 22 Apr 2019 10:12:34 -0700 by tvance929

Spring MVC4+MyBatis+SQL Server 2014+druid to monitor the running of SQL

Preface During the development process based on Spring MVC+MyBatis, we hope to see the execution of our handwritten SQL. In the development stage, we can configure log4j to view the execution of SQL in the console based on debug mode. Then when we go online, we want to see the execution of SQL in the production voice. It's time for druid to ap ...

Posted on Tue, 12 Feb 2019 16:00:19 -0800 by dsaba

MyBatis (7) -- Sprboot integrates MyBatis, Druid batch update error reporting multi-statement not allow

When MyBatis integrates Druid, it performs batch updates, that is, multiple Update statements, with the following errors reported: java.sql.SQLException: sql injection violation, multi-statement not allow : UPDATE t_user_finance_cashflow SET tradeBeforeAmount = ?, tradeAfterAmount = ?, updateTime = sysdate() WHERE userOid = ? AND accountC ...

Posted on Thu, 07 Feb 2019 15:42:17 -0800 by Monkeymatt