On the trigger of mysql stored procedure

What is a stored procedure? That is, you can write logical sql, such as judgment, loop, etc,, What are the benefits? Imagine that we want to insert 100 pieces of data. Compared with batch operation, it is sure that the efficiency of the stored procedure is high In addition, the running speed of stored procedures is v ...

Posted by davidsakh on Wed, 15 Apr 2020 09:29:39 -0700

Oracle Foundation (common functions and type conversions)

This article mainly talks about the functions commonly used in Oracle, as well as the knowledge of type conversion. Note: date type is troublesome, but date format is indispensable in practical application. Single-Row Functions Single line function: only one parameter input and only one result output --1,Study lower/upper/initcap Function ...

Posted by Avi on Tue, 14 Apr 2020 11:45:13 -0700

Source code analysis of Mybatis+Oracle with insert null error reporting

In order to facilitate SEO search, first of all, post the error content Different versions of Oracle drivers will report different errors 1 <dependency> 2 <groupId>com.oracle</groupId> 3 <artifactId>ojdbc6</artifactId> 4 <version>1.0</version> 5 </dependency> The error is reported as ...

Posted by cliffboss on Tue, 14 Apr 2020 11:36:29 -0700

Binary installation MySQL 5.7

Binary deployment is relatively simple, so you can go to MySQL official website to download the MySQL binary package without installing the dependent environment. Or download through the link of my network disk, which contains the script for automatic deployment. Note: the latest MySQL version 8.0 is completely consistent with the deployment p ...

Posted by BZero on Tue, 14 Apr 2020 10:07:00 -0700

Collection again! How can MySQL maintain master-slave synchronization without downtime? This is enough

Preface In May 17, 2013, after the last IBM small computer of Alibaba group was released from Alipay, there is no doubt that MySQL is already the most widely used database in Internet Co nowadays. Mysql is free and open source, and it can be conveniently extended horizontally to support high concurrency traffic. Small and medium-sized enterpri ...

Posted by zoozle on Tue, 14 Apr 2020 02:23:11 -0700

linux MySQL installation strategy

1.https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.21-linux-glibc2.12-x86_64.tar.gz Download the installation package. The previous MySQL installation failed because of the selected version. It is recommended to select [Linux generic] Decompression: tar zxvf mysql-5.7.21-linux-glibc2.12-x86_64.tar.gz //Put the ...

Posted by nariman on Mon, 13 Apr 2020 10:35:50 -0700

Flink's DataSource Trilogy 3: customization

This article is the end of the trilogy of Flink's DataSource. The previous studies are all about Flink's existing data source functions. However, if these cannot meet the needs, you need to customize the data source (such as obtaining data from the database), which is the content of today's actual combat, as shown in the red box below:###Flink' ...

Posted by liebs19 on Mon, 13 Apr 2020 03:26:28 -0700

Spring Boot 2.X practice -- Spring Security login and registration

>Author: Xiao Xian > >Source code warehouse: https://github.com/zhshuixian/learn-spring-boot-2 For the Web system, it is necessary to control the access rights of pages and API interfaces. For example, it is necessary to block the access rights of non system users and control the access rights of different pages or interfaces. In Java ...

Posted by DonnieDarko on Sat, 11 Apr 2020 19:38:44 -0700

How to implement redis distributed lock

Distributed lock is a way to control the synchronous access of shared resources between distributed systems. In the distributed system, they often need to coordinate their actions. If different systems or different hosts of the same system share one or a group of resources, when accessing these resources, they often need to be mutually exclusiv ...

Posted by Jeroen_nld on Fri, 10 Apr 2020 23:02:20 -0700

I don't know jdbc, what about Mybatis source parsing?

This article is mainly intended to show the use of jdbc to make it easier to read MyBatis source code and to warm up for source analysis. Many of the key information can be found in the MyBatis source code. This article does not analyze the MyBatis source code. Because the MyBatis source code is a huge and complex project, it can't be said in j ...

Posted by juma929 on Fri, 10 Apr 2020 21:13:28 -0700