Using mybatis plus 3.1.2 and Druid 1.1.20 invalidates the serialization and deserialization of localdateformat to a custom date format string

Time record April 21, 2020 Preface       At present, the project reconstruction adopts springboot2.1.13 to integrate mybatis-plus3.1.2 and druid connection pool 1.1.20. When the response body json result set and the request body json result set are returned in the controller controller controller, both serialization and dese ...

Posted by dnice on Mon, 20 Apr 2020 21:29:42 -0700

Exception handling and parameter checking in SpringBoot

Hello, brothers, this time to exchange two questions with the old fellow, exception and parameter checking. Before we talk about parameter checking, let's first talk about exception handling, because the latter parameter checking involves exception handling. exception handling When it comes to exception handling, I don't know if you've written ...

Posted by liamjw on Mon, 20 Apr 2020 19:12:02 -0700

Several ways to manipulate databases in java

History is a mirror Looking back on my own development and witnessing the history of times, let me talk about how java connects to databases 0 native jdbc Get started with jdbc, so people who are afraid of new entrants will already be immersed in packaging libraries and frameworks without even using native jdbc. Java database connecti ...

Posted by Rederick on Mon, 20 Apr 2020 18:57:26 -0700

Java Thread Foundation, Start with this

Threads, as the smallest dispatching unit in the operating system, generally have multicore processors in the current operating environment. In order to make better use of CPU, master its correct use, and make the program run more efficiently.It is also an extremely important module in Java interviews. Introduction to Threads A program that ...

Posted by bradymills on Mon, 20 Apr 2020 18:52:20 -0700

@Es problem -- too many bool conditions (1024)

Background: too many splices in boo query result in too many clauses: maxclausecount is set to 1024 { "from": 0, "size": 10, "query": { "bool": { "must": [ { "terms": { "idx_diseaseid": [ "DiseaseId_1027" ], "boost": 1 } }, ...

Posted by bdee1 on Mon, 20 Apr 2020 10:33:13 -0700

The use of FilterConfig in Servlet

Original link: http://www.yiidian.com/servlet/filter-config.html The Web container creates an object for FilterConfig. This object can be used to get the configuration information of the Filter from the web.xml file. 1. Method of filterconfig interface There are four methods in the FilterConfig interface: public void init (FilterConfig config) ...

Posted by daiwa on Mon, 20 Apr 2020 08:38:07 -0700

Minio related configuration and problem record

First of all, Minio has written clearly and in Chinese on its website. https://docs.min.io/cn/ In the project, the OSS function needs to be replaced and implemented. The code corresponding to the original public cloud implementation has been encapsulated into a tool class, and the factory method mode is adopted. As long as the mini interface a ...

Posted by friedice on Mon, 20 Apr 2020 03:58:05 -0700

[State Machine] Enterprise Available Level Development Guide for spring statemachine 5 - message to pass parameters

Category Column: spring statemachine Article Tag: spring boot spring Statemachine Java state machine Copyright Statement: This is an original blogger article, which follows the CC 4.0 BY-SA copyright agreement. Please attach a link to the original source and this statement for reproduction. Link to this article: https://blog.csdn.net/firebat/ar ...

Posted by a2bardeals on Sun, 19 Apr 2020 19:08:25 -0700

Example of multi task scheduling with PHP co process mechanism

In the last article about Iterators, generators, and collaborators in PHP In our article, we know that in PHP, we can use the yield keyword to turn the iterator into a generator, and then through its release / recovery mechanism, we can use the cooperation mechanism to schedule in the user state. Next, we use the PHP cooperation mechanism to do ...

Posted by FURQAN on Sun, 19 Apr 2020 09:17:33 -0700

Design mode of Solidity written by smart contract | FISCO BCOS hypertext blockchain special session (Part 4)

Preface With the development of blockchain technology, more and more enterprises and individuals begin to combine blockchain with their own business. The unique advantages of blockchain, such as transparent and tamper proof data, can bring convenience to business. But at the same time, there are some hidden dangers. The data is open and transp ...

Posted by little_webspinner on Sun, 19 Apr 2020 04:50:44 -0700