java source learning - Mybatis creates statement and result set generation

Mybatis creates statement and result set generation statementHandler Result set processing Postscript Previous: Mybatis(3) executes sql procedure statementHandler In the Configuration class of Mybatis, there are the following three methods. If we want to generate a statement, we need to use a statement processor publ ...

Posted on Sat, 27 Jun 2020 05:40:32 -0400 by maxpouliot

Experiment 2 goods purchase and sale management system

Write a Inventory.java Complete the following functions: 1. The program first opens and reads Inventory.txt All inventory records recorded in and read Transactions.txt , process the transactions contained in this file, and record the delivery records to Shipping.txt , and record the error message to Err ...

Posted on Sat, 27 Jun 2020 05:27:11 -0400 by utherwun

Python3 selenium 3 learn from the framework to realize the code selenium makes you get twice the result with half the effort

Last post Brief stay Last blog post It has been learned in: using execute to send a request to the remote server will interact with the browser through webdriver, and sending the defined command constant can obtain some relevant information. Where the execute method implementation is already on A blog post There are implementation instructions ...

Posted on Sat, 27 Jun 2020 04:39:34 -0400 by newbienewbie

The solution of lock in Java

1. Optimistic lock and pessimistic lock Optimistic locks and pessimistic locks should be the first two types of locks that every developer contacts. Application scenarios are mainly used to update data, which is also one of the most important scenarios for using locks. The main process of updating d ...

Posted on Sat, 27 Jun 2020 04:21:02 -0400 by phpbaby2009

Understand interpreter patterns of 23 design patterns

Understand interpreter patterns of 23 design patterns What is an interpreter The definition, characteristics and structure of interpreter code implementation Application scenario of interpreter mode Extension of Interpreter pattern What is an interpreter Interpreter mode, also known as interp ...

Posted on Sat, 27 Jun 2020 04:15:20 -0400 by andrewgarn

Project Reactor responsive programming

introduce "In computers, Reactive Programming or Reactive Programming is a programming paradigm for data flow and change propagation. This means that static or dynamic data flow can be easily expressed in programming language, and the relevant calculation model will automatically propagate the ch ...

Posted on Sat, 27 Jun 2020 03:53:49 -0400 by Iokina

Why does intent inherit the parseable or serialized interface when passing data, and does not implement any methods

1) Permanently save the object and save the byte sequence of the object to the local file; 2) Passing objects in the network by serializing them; 3) Passing objects between processes by serialization   There are two options to implement serialization in Android: one is to implement the Serializab ...

Posted on Sat, 27 Jun 2020 03:51:13 -0400 by noon

Redis series - bloon filter

When we use Redis as cache, one of the problems we need to consider is cache penetration. There are many types of cache penetration, and different types have different solutions. As one of the solutions, the bloon filter is used. The bloom filter is mainly used to determine whether an element is contai ...

Posted on Sat, 27 Jun 2020 02:42:46 -0400 by methodlessman

Spring Boot integrates Dubbo and uses zookeeper as the registry

preface The whole process of this article is under the operation of windows. The general operation is the same as that of Linux. Please Baidu for details and Google if you have conditions! Knowledge points to understand Dubbo and zookeeper environments and what they are Spring Boot knowledge points, limited to package structure pom dependency ...

Posted on Sat, 27 Jun 2020 02:39:33 -0400 by dhillarun

Some differences between Synchronized decorating method and code block at the bottom

Article catalog Decorated code block Modify instance method Modifying static methods summary Decorated code block The above example: public class SyncCodeBlock { public int i; public void syncTask(){ //Sync codebase synchronized (this){ i++; } } } Compile with j ...

Posted on Sat, 27 Jun 2020 02:14:36 -0400 by bobby4