Without programming, generate CRUD, add, delete, modify and check RESTful API interface based on PostgreSQL zero code
Without programming, generate CRUD, add, delete, modify and check RESTful API interface based on PostgreSQL zero codereviewIn the previous article, the main functions and usage of crudapi have been introduced. crudapi 1.2.0 only supports MySQL database. In order to support more databases, the code is reconstructed and the abstract factory desig ...
Posted by snoopgreen on Wed, 23 Feb 2022 06:51:06 +0100
SpringBoot & Maven dependency, configuration separation and packaging
introduce
With the iteration of technology, SpringBoot is widely used in our daily development. When using maven to build traditional web applications, we package the projects into war packages and deploy them in tomcat. All directory resources are separated, which is very convenient for the modification of configuration files. However, if you ...
Posted by seavers on Wed, 23 Feb 2022 05:41:27 +0100
Spring -- Annotation usage of Security framework
preface
In the previous security, relevant configurations and tests were conducted for configuration items.
But these are based on security config. Myconfig #configure (org. Springframework. Security. Config. Annotation. Web. Builders. Httpsecurity) to restrict the permission of the corresponding request.
If there are multiple reque ...
Posted by rnintulsa on Wed, 23 Feb 2022 05:33:02 +0100
Spring MVC integration and cases
5.5 the controller responds to the front-end request
5.4.1 response to synchronization request
Response to synchronization request: the front end sends a request to the method in the controller class. After the controller method processes the request, it needs to jump to the next page
Front end request <a href="book/list?pageNum=1&a ...
Posted by mlnsharma on Wed, 23 Feb 2022 03:50:03 +0100
MySql master-slave separation
Master-slave database theoretical knowledge
First step The master's operations on the data are recorded in the Binary log. Before each transaction updates the data, the master records these changes and writes them to the Binary log serially. After completing the log writing, the master notifies the storage engine to commit the transaction. T ...
Posted by telefiend on Wed, 23 Feb 2022 03:45:15 +0100
LeetCode 688. Knight's probability on the chessboard / 1791 Find the central node of the star chart / 969 Pancake sorting (bubble sorting)
688. Knight's probability on the chessboard
2022.2.1 one question per day
Title Description
On an n x n chess board, a knight starts from a row (column) and tries to make k moves. Rows and columns start at 0, so the upper left cell is (0,0) and the lower right cell is (n - 1, n - 1).
Chess knight has 8 possible walking methods, as shown in ...
Posted by belayet on Wed, 23 Feb 2022 03:12:34 +0100
Multi table query of MyBatis
10. Multi table query of mybatis
Relational database tables are divided into
* one-on-one
* One to many
* Many to many
give an example
The ID number is one to one. A person can only have one ID number. An ID number can only belong to one person.Users and orders are one to many, and orders and users are many to one One user can place multip ...
Posted by rgermain on Wed, 23 Feb 2022 02:19:43 +0100
Advanced knowledge of Java -- JSON parsing
JSON parsing
JSON: JavaScript Object Notation
JSON is a simple spectrum of JS objects and a lightweight data exchange format
A subset of the JS specification developed by the European Computer Association, which is completely independent of the programming language and uses text to represent data
Object format
Describe the above conten ...
Posted by pgudge on Tue, 22 Feb 2022 19:52:14 +0100
spring transaction-2 (transaction propagation level combination description)
Transaction propagation level combination description
example
Configuration class package transaction;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.datasource.DataSourceTransactionManager;
im ...
Posted by byrt on Tue, 22 Feb 2022 17:45:37 +0100
The first actual combat project of springboot+vue music website in winter vacation
preface
Front end usage: vue/cli "^ 4.5.15" Back end usage: springboot2 6.2, mybatis-plus3. 5.9,mybatis-plus-generator3. five point one Deployment: nginx,tomcat,webpack Summary Although the project is colorful, it is not difficult The biggest gains are: 1. Technical selection and task requirements Once determined, late changes ...
Posted by scooterlibby on Tue, 22 Feb 2022 17:13:16 +0100