SQL Execution of Mybatis Core Working Principles
SQL Execution of Mybatis Core Working Principles
Learn the structure, working principle and main modules of Mybatis from a macro perspective, and learn the working principle and design idea of Mybatis from a micro perspective.
1. SQL Execution
Let's look at the execution of Mybatis's SQL statement.
List<User> list = mapper.selectUserL ...
Added by feyd on Sun, 05 Sep 2021 23:40:38 +0300
[embedded experiment], Alibaba Java social recruitment interview
4, Experimental equipment and tools (including software debugging tools) 5, Experimental steps Experiment 1: transplant embedded database sqlite
1 ~ 5: install sqlite database 6: Use of database
Method 1: command to manipulate the database Mode 2: program to manipulate the database Outside the experiment (you can see if you a ...
Added by crash4o4 on Sun, 05 Sep 2021 22:40:48 +0300
Mybatis Learn Notes
#Mybatis ###First example #####Step 1: Add Mybatis 3.4.5 coordinates, mysql, junit, logj to the pom.xml file Step 2: Write the User entity class. Step 3: Write the SqlMapConfig.xml configuration file (in resources)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE configuration
PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
"http://mybati ...
Added by Errant_Shadow on Sun, 05 Sep 2021 20:53:34 +0300
Flink best practice: synchronizing MySQL data to TiDB using Canal
Background introduction
This article will introduce how to import the data in MySQL into Kafka in the form of Binlog + Canal, and then be consumed by Flink.
In order to quickly verify the functionality of the whole process, all components are deployed in a single machine. If you have insufficient physical resources, you can build all the comp ...
Added by xProteuSx on Sun, 05 Sep 2021 08:41:59 +0300
Flink's best practice is to stream TiDB data into Flink through TiCDC
Background introduction
This article will introduce the case of how to import the data in TiDB into Kafka through TiCDC and then consumed by Flink.
In order to quickly verify the functionality of the whole process, all components are deployed in a single machine. If you need to deploy in a production environment, it is recommended to replace ...
Added by disconne on Sat, 04 Sep 2021 21:44:21 +0300
Spatial Relationships and Measurements of PostGIS: 3
17. ST_ClusterWithin
ST_ClusterWithin - aggregation. Returns an array of geometric sets, where each geometric set represents a set of geometric sets, and the distance between geometric sets does not exceed the specified distance.
17.1. Summary
geometry[] ST_ClusterWithin(geometry set g, float8 distance);
17.2. Description
ST_ClusterWithin ...
Added by welshy123 on Sat, 04 Sep 2021 05:46:51 +0300
Xiaodi penetration & WEB vulnerability (iii-i)
Video resources
SQL injection (11-18)
11. Vulnerability introduction
11.1 PHP method of traversing all files and subfolders under a folder
<?php
function my_dir($dir) {
$files = [];
if(@$handle = opendir($dir)) {
while(($file = readdir($handle)) !== false) {
if($file != ".." && $file != ".") {
if(is_dir($dir . " ...
Added by ciaran on Sat, 04 Sep 2021 05:29:15 +0300
Using terminal operation database MySQL
Using terminal to operate MySQL
MySQL installation tutorial reference rookie tutorial: https://www.runoob.com/mysql/mysql-install.html Content reference website: https://github.com/hjzCy/sql_node/blob/master/mysql/MySQL%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0.md
1, Basic operation
cmd entry method under win: mysql -uroot -p
See what da ...
Added by nediaz on Sat, 04 Sep 2021 03:22:06 +0300
Introduction to MySQL (Lesson 1)
Introduction to MySql:
1. Why use MySQL
Data is easily lost in memory The data is in the file, which is not easy to operate
2. Whenever
Use a complete management system for unified management and easy query
3. When will it be used
Where persistent data storage is required
Terminology: DB: the "warehouse" in which a database sto ...
Added by sp@rky13 on Sat, 04 Sep 2021 01:54:41 +0300
MySQL - high-level statements (including permutation, median, accumulation, percentage, regularity, stored procedure, etc.)
4, Some data processing methods
create table Total_Sales (Name char(10),Sales int(5));
insert into Total_Sales values ('zhangsan',10);
insert into Total_Sales values ('lisi',15);
insert into Total_Sales values ('wangwu',20);
insert into Total_Sales values ('zhaoliu',40);
insert into Total_Sales values ('sunqi',50);
insert into Total_Sales ...
Added by php-pendejo on Fri, 03 Sep 2021 05:32:27 +0300