Data structure and algorithm 5

Dichotomy adopts the method of rounding down The advantage of using ordered array is that the speed of searching is much faster than that of unordered array. The disadvantage is that it needs to move all the backward data away, so the speed is slow. The deletion of ordered array and unordered array is very slow. Ordered arrays are very useful ...

Posted by Andre_Ng on Fri, 31 Jan 2020 08:54:12 -0800

Spring Security Series (7) remember user name login function

Remember the basics of my function The user sends a request to UsernamePasswordAuthenticationFilter. When the user authenticates successfully, a service like RemeberMeService will be called. There is a Token repository in the service, which will generate a Token, write the Token to the Cookie of the browser, and at the same ...

Posted by genistaff on Fri, 31 Jan 2020 07:29:57 -0800

Copy / copy database without mysqldump

Without local access to the server, is there any way to copy / clone MySQL database (including content and excluding content) to another database without using mysqldump? I am currently using MySQL 4.0. #1 building If you're using Linux, you can use the following bash script: (it may need some other code cleansing capabilities, but it ...

Posted by kel on Fri, 31 Jan 2020 03:16:41 -0800

Four level linkage pull-down menu

Reprint: https://blog.csdn.net/jy02988278/article/details/78968997 (self Collection) Database export address data linkage display drop-down menu 1. First, the database structure, as shown in the figure above: Structure sub id form, sid is the id of this data, FID is the SID of the superior data of this data It is to build t ...

Posted by jorley on Fri, 31 Jan 2020 02:19:52 -0800

node web module (server and client)

node web module web server Web server refers to website server, which refers to a program residing on the Internet, the basic function of web browser, and provides information browsing service The web supports the script language on the server side. The script language obtains data from the database and returns the results ...

Posted by fireant on Fri, 31 Jan 2020 01:59:15 -0800

Oracle stored PROCEDURE

Stored procedure A set of SQL statements used to complete specific database functions, which are compiled and stored in the database system. In use, the user calls and executes the stored procedure by specifying the defined stored procedure name and giving the corresponding stored procedure parameters, thus completing one or a series of databas ...

Posted by excessnet on Fri, 31 Jan 2020 01:19:42 -0800

The @ transactional annotation does not take effect after the Spring boot atomikos is configured

1, When using things in springBoot, it is found that the transaction is not executed normally and is not rolled back: @GetMapping("/addincome/1") @Transactional public String addIncome1(@RequestParam("name") String name, @RequestParam("amount") double amount) { try { User user = new User(); ...

Posted by FireDrake on Fri, 31 Jan 2020 00:10:12 -0800

Java large Internet Project - development diary - Mobile e-mall - Homepage screening Solr

Java large Internet Project - development diary - Mobile e-mall - Homepage screening Solr demand We need to update the following product information every time we click an option. When the number of visitors is too large, if we click to request the database, the access speed will be too slow, so we ...

Posted by gbuck on Thu, 30 Jan 2020 09:09:08 -0800

python entry practice - student management system

Opening chapter Recently, I have nothing to do at home and started Python language. I have been engaged in Java development, so it is easier to learn Python than to start from scratch. After learning the basic grammar, I made a student management system (necessary for university course design ~), and consolidated the python grammar. Next, I wil ...

Posted by Monadoxin on Wed, 29 Jan 2020 23:53:18 -0800

Test, data pump export during DML operation

The main test is what happens to expdp when a table has DML action. This test mainly opens three windows, one is to insert data, about 100W pieces will be inserted for a long time. The second window queries the inserted data, of course, it does not query 100W pieces. In the third window, when inserting data, perform data pump e ...

Posted by danville on Wed, 29 Jan 2020 08:02:52 -0800