Basic operation of MariaDB database

Preface: Recently, I have organized some previous study notes. In the past, it was stored locally, and this time it was transferred to the network for standby. "   MariaDB The brother version of MySQL database was developed by MySQL developers to prevent the source from being closed after MySQL was acquired. Compatible with mysql Soft ...

Posted on Wed, 30 Oct 2019 14:59:30 -0400 by marlonbtx

The separation of reading and writing based on springboot+mybatis+Sharding jdbc

I took the time to do Sharding jdbc in the past two days. In view of the fact that this part is also used in the current project (not by me), as a slag man who is obsessed with technology, how can he ignore its existence and have to do it by himself? Start up ~ Project building 1. Create a new spring boot project and add dependency <depe ...

Posted on Wed, 30 Oct 2019 14:33:10 -0400 by rockinaway

Summary of 10W excel data warehousing efficiency improvement

I. demand: Use poi to read the national economy industry classification table (excel table made by the National Bureau of Statistics), and insert the data into the established MySQL table. II. Framework: springboot + MyBatisPlus III. test: Use the most basic method to get excel records one by one and p ...

Posted on Wed, 30 Oct 2019 12:45:59 -0400 by steply

Think.js configuration database

Think.js configuration database Method Preparation Extend model capabilities The Think.js framework does not provide the function of model by default. It needs to load the corresponding extension to support. The corresponding module is think model. Modify the extended configuration file src/config/extend.js, and add the following configurati ...

Posted on Tue, 29 Oct 2019 11:09:12 -0400 by matbennett

python dictionary and its properties

A dictionary is an unordered collection of data. Usually, the order of output is inconsistent with that of definition 1. Dictionary creation s = {} Create an empty collection d = dict() 2. Initialization of dictionary d = dict(a=1,b=2) d = { 'http':80 'https':443 } 3. Nesting of dictionaries (two-le ...

Posted on Tue, 29 Oct 2019 11:05:13 -0400 by teddirez

Create connection pool with BoneCP and write sparkstreaming data to MySQL

Get ready First, we go to the maven repository to find the dependency of BoneCP: Add to pom.xml My kafka version is 0.10 spark version is 2.4.2 because it's experimental, so I don't pack it in linux and run it directly on IDEA. Start-up First, I set up a new table Kafka? Test? TBL in the G6 database ...

Posted on Mon, 28 Oct 2019 14:27:34 -0400 by Mr P!nk

Reflection mechanism of design pattern

I. what is Java reflection It is running. It dynamically gets all the information of this class. 1. Function of reflex mechanism - 1, decompile:. Class -- >. Java - 2. Access the properties, methods and construction methods of java objects through reflection mechanism; 2. Application scenario of reflection mechanism Jdbc load driver----- Spr ...

Posted on Mon, 28 Oct 2019 13:38:16 -0400 by nelsok

Spring integrates JdbcTemplate to implement add, delete, modify and query -- Annotation mode

Using annotations to complete IOC and DI   1. Create configuration class SpringConfig.java package com.day02Jdbc.config; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Import ...

Posted on Mon, 28 Oct 2019 13:24:17 -0400 by the elegant

Separate java*ajax login and print mysql list

Today, I made an ajax login and print list with json lightweight data transmission, and I also encountered some problems. First of all, the front and back end problems are cross domain problems. I only used the request permission problem without using other methods. The request header of the servlet ...

Posted on Mon, 28 Oct 2019 13:23:18 -0400 by dman779

(advanced thinking) II. Combing advanced knowledge II

Preface Technical point: restful wechat development, payment, subscription and publication, rpc.I don't know when I'm going to stop. Go ahead. 1. Subscription push Message queuing has been implemented in high concurrency detection series. In the same way as publish and subscribe, the real-time function needs cli online service, otherwise it nee ...

Posted on Mon, 28 Oct 2019 13:13:50 -0400 by dekeb55