SpringBoot integrates MyBatis-Plus introductory experience

I. Preface This article will integrate MyBatis-Plus based on SpringBoot. MyBatis-Plus is an enhancement tool for MyBatis, which enhances MyBatis without changing its original function.~ 2. SpringBoot Integration MyBatis-Plus Basic environment spring-boot 2.1.8 mybatis-plus 2.2.0 mysql 5.7.24 maven project 1. Introducing MyBatis-Plus dependen ...

Posted by Oren on Thu, 10 Oct 2019 19:58:11 -0700

Snowflake algorithm-native

Snowflake algorithm is a distributed primary key generation algorithm published by Twitter. It can guarantee the non-repeatability of primary keys in different processes and the orderliness of primary keys in the same process. In the same process, it is guaranteed not to repeat through the time bit first, and if the time is the same, it is gua ...

Posted by geroid on Thu, 10 Oct 2019 19:51:55 -0700

Linux system: install Jdk8, Tomcat8, MySQL 5.7 environment under centos7

1. JDK1.8 Environment Construction 1. Upload files to decompress [root@localhost mysoft]# tar -zxvf jdk-8u161-linux-x64.tar.gz [root@localhost mysoft]# pwd /usr/local/mysoft [root@localhost mysoft]# mv jdk1.8.0_161 jdk1.8 2. Check the environment. Installed and deleted [root@localhost mysoft]# ps -aux|grep java [root@localhost mysoft]# rpm -e - ...

Posted by onlyican on Thu, 10 Oct 2019 14:25:38 -0700

[POJ-3273] Monthly Expense (dichotomy)

Monthly Expense Go straight to Chinese Descriptions Give you a sequence of length N, and now let you cut them into M parts (so each one is continuous), and then each one has a sum[i]. The largest one is maxSum = max(sum[i]). Ask what is the minimum of this maximum value? input Multiple Input and Output GroupsThe first row of each set of da ...

Posted by jrws on Thu, 10 Oct 2019 13:49:00 -0700

Technology Sharing | InnoDB Table Space Encryption

Author: Qin Pei Contents of this article: Summary of Table Space Encryption Response Scene Encryption plug-in Encryption restrictions Matters needing attention 2. Encrypted Table Space Install encryption plug-ins Configuration table space encryption View Encrypted Tables in Table Space 3. Update master encryption key IV. Derivation of Guid ...

Posted by khanuja.sunpreet on Wed, 09 Oct 2019 23:32:25 -0700

When JPA meets four styles of MySQL table names: full capitalization + full lowercase + hump + Hungary

I have always known that MySQL has the case problem of field names, table names, etc. on Linux, so in order to avoid this problem, I chose underscores and all lowercase, saying that although we use JPA, as long as we use annotations to write clearly that table names and field names are uppercase, that's all right. For example It turns out tha ...

Posted by mananx on Wed, 09 Oct 2019 20:34:27 -0700

Django-Docker Containerized Deployment: Django-Docker-MySQL Deployment

In the previous chapter, we successfully built a containerized Django project, using the default Sqlite database. Sqlite is easy to use, but online deployment often chooses more efficient and reliable databases, such as MySQL. Based on the previous chapter, this chapter will modify and build the container project of Docker + Django + MySQL. Doc ...

Posted by blckspder on Wed, 09 Oct 2019 18:04:02 -0700

Python batch deletes tens of millions of levels of mysql data

Scene description On-line mysql database contains a table with daily statistical results, more than 10 million items per day, which is unexpected to us. How many statistical results are there? Operations and maintenance found that the disk occupied 200 G, and finally asked the operation, you can only retain the last three days, the previous dat ...

Posted by jskywalker on Wed, 09 Oct 2019 12:22:22 -0700

Spring boot uses Mysql's OSQL functionality

problem The need to save unstructured data, the first thought of mongodb, but the company does not allow mongodb, can only consider the storage of unstructured data in mysql. thinking Use mysql to provide xdevapi java for development. Solve Step 1: Check whether the X plug-in is installed If you want Mysql to support document storage, you need ...

Posted by dewed on Wed, 09 Oct 2019 11:11:58 -0700

Using docker to build a private code repository from scratch

docker builds nginx tutorials Through< MySQL Construction of Building Private Code Warehouse from scratch with docker > and< Using docker to build gogs of private code repository from scratch > In fact, the code warehouse has been built successfully, but in order to facilitate access, we sometimes need to bind domain names, so we ca ...

Posted by BMurtagh on Wed, 09 Oct 2019 09:08:24 -0700