MyBatis Series: Using Type Processors in MyBatis

This blog mainly explains how to use type processors in MyBatis. 1. Define requirements At the beginning of the design, the enabled field of the sys_role table had two optional values, 0 for disabled and 1 for enabled, and we used the Interger type in the entity class: /** * Valid Sign */ private In ...

Posted on Sun, 12 Jan 2020 22:04:15 -0500 by komlos

Learning Redis for the first time

1 what is redis? Redis is an open-source log and key value database written in ANSI C language, supporting network, memory based and persistent, and provides API s in multiple languages. In other words, redis is like a HashMap, but it does not run in the JVM, but in the form of an independent process. Generally speaking, it ...

Posted on Sun, 12 Jan 2020 11:54:28 -0500 by Jakebert

How to write readable code

A year after graduating from college, a classmate who is not a programmer asked: why do programmers always look at other people's code and not look good? At the beginning, I felt that this was a naked challenge to programmers. I denied it directly: isn't it like this? I feel like some people's code i ...

Posted on Sun, 12 Jan 2020 10:19:58 -0500 by eyekkon

CentOS 7.6 build WordPress blog

Demand: Build WordPress blog website due to the business needs of the company's Promotion Department Introduction: WordPress is a blog platform developed in PHP language. Users can set up their own websites on servers supporting PHP and MySQL databases. You can also use WordPress as a content management system (CMS).WordPress is a personal ...

Posted on Sun, 12 Jan 2020 08:36:19 -0500 by lehara

OSPF area division (special area)

1, Topology display - Huawei OSPF area division Equipment required: 9 routers, 5 pcs PS: this topology is not applicable to all physical environments The purpose of the experiment is to configure the relevant areas according to the topology map and realize the interconnection of the whole network 2, What is OSPF OSPF(SPF) is a routing proto ...

Posted on Sun, 12 Jan 2020 08:34:37 -0500 by DaVuLf

ADO.NET transaction encapsulation

In the process of compiling database tool class, to avoid duplicate operation of transaction object assignment of each atomic operation, the method to expose to the outside is as follows public bool ExecuteTransition(Action TransitionAction, out string ExceptionStr) The external incoming database operations are uniformly packaged with de ...

Posted on Sun, 12 Jan 2020 07:52:28 -0500 by jwrightnisha

QT homework student information management system

There are ten thousand wine fights in gold cups and ten thousand money in jade plates. I can't eat when I stop the cup, and I'm at a loss when I draw my sword. If you want to cross the Yellow River, you will climb the Taihang snow covered mountain. When I came here to fish in Bixi, I suddenly dreamed o ...

Posted on Sun, 12 Jan 2020 03:36:09 -0500 by Kano

Share doubles life winner, python crawls funds to filter stocks

Preface: Hear you want to get rich?Then calm down and take your time. Haven't you heard the famous saying: "The poor always don't want to get rich slowly."Think about getting rich overnight, what's the middle caipiao like, but how can I be so lucky?You can't get 780,000 Cai piaos like me and steal flowers yourself. If you want to bec ...

Posted on Sat, 11 Jan 2020 12:39:42 -0500 by synapse0

Concurrency problems and analysis of multithreading in project

Here is a brief description of the problem, Scenario: another thread is created in one thread to handle part of the business, The main thread performs a new operation on the database. After the operation, it starts a new thread to query the inserted data, and finds that the data has no query. Let' ...

Posted on Sat, 11 Jan 2020 10:21:35 -0500 by Greaser9780

About derby database (novice tutorial)

This content comes from the professional training course. Please point out any mistakes. 1: Configure environment variables This computer - right click - properties - select advanced system settings - select environment variables (1) Add a system variable Derby home% JAVA HOME% DB (2) Double cli ...

Posted on Sat, 11 Jan 2020 04:46:59 -0500 by gilreilly