Do you still need to learn JDBC? How much do you need to know?
Preface
Only a bare head can make it stronger.
The text has been included in my GitHub selected articles. Welcome to Star: https://github.com/ZhongFuCheng3y/3y
I don't know if you have written JDBC in your work. I went to a small company as an intern in my junior year. JDBC is used in it, but it encapsulates several tool classes. When ...
Posted by gte806e on Sun, 05 Apr 2020 09:14:17 -0700
How can the code for dao and entity be generated automatically in actual development?A tool for you
01
Focusing on your "Ape Story" friends, you know that previous articles have advocated rejection of CRUD. What is CRUD?Today let's talk about how the Java sisters and apes interact with the old database man.
Product Xiao Wang Tiao said forcefully: Ape classmates, let's launch a pop-up product in the near future, you first achieve ...
Posted by Vebut on Sat, 04 Apr 2020 22:52:17 -0700
Install mysql in RPM mode
System environment
Centos-7
mysql version
mysql-5.7.17
1. Download and unzip rpm package
[root@VM_42_245_centos ~]# tar xf mysql-5.7.17-1.el7.x86_64.rpm-bundle.tar
[root@VM_42_245_centos ~]# ls
mysql-5.7.17-1.el7.x86_64.rpm-bundle.tar
mysql-community-client-5.7.17-1.el7.x86_64.rpm
mysql-community-common-5.7.17-1.el7.x86_64.rpm ...
Posted by Wo0tHigh on Sat, 04 Apr 2020 21:41:32 -0700
Docker complete site introduction
1, Operation on the main server: complete the installation of docker; omitted
2, View image
[root@localhost ~]#docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
centos/shop2.web.top latest 8fc9b211671a 14 minutes ago 1.835 GB
.....
3, Running image ...
Posted by LiamS94 on Sat, 04 Apr 2020 10:45:54 -0700
[Seata microservice distributed transaction] 2. Construction of Seata microservice distributed transaction project
Citation dependency
<!--seata-->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-seata</artifactId>
<exclusions>
<exclusion>
<artifactId>seata-all</artifactId>
<groupId>io.seata</groupId>
< ...
Posted by paul2463 on Sat, 04 Apr 2020 03:27:30 -0700
Deep understanding of ServiceLoader class and SPI mechanism
Recently, we are reconstructing projects ourselves. In order to meet the 82 principle (I hope 80% of businesses can be fixed by exhausting, and only 20% of businesses allow special definitions), after fixing some standard processes, for example, we have enlarged the capability of atomic services. When we enlarge the capability of atomic service ...
Posted by alexinjamestown on Sat, 04 Apr 2020 01:02:54 -0700
Setting up MYSQL 5.7.21 text notes in linux
Environmental Science:
Virtual machine: VMware 12 Pro
Linux: rhel-server-6.4-x86_64
MYSQL: 5.7.21
1. Download mysql
In official website: http://dev.mysql.com/downloads/mysql/ , select the following version of mysql to download:
2. Unzip the installation package in / usr/local and rename it mysql
[root@mys ...
Posted by zggtf211 on Fri, 03 Apr 2020 21:28:36 -0700
Zabbix monitoring platform installation and deployment
Zabbix monitoring platform installation and deployment
For the deployment of Zabbix monitoring platform, at least four components need to be installed, namely, Zabbix? Server, Zabbix? Web, Databases, and Zabbix? Agent. The detailed steps for the installation and configuration of Zabbix monitoring platform are as follows:
1, System environment ...
Posted by AsiaUnderworld on Fri, 03 Apr 2020 14:08:13 -0700
JDBC details of Java
JDBC
JDBC(Java Database connectivity) is a Java API for executing SQL statements
Can provide unified access to a variety of relational databases
Java database connection specification (a set of interfaces)
There are four core classes of JDBC:
DriverManager create connection
Connection connection class
S ...
Posted by skaforey on Fri, 03 Apr 2020 13:54:08 -0700
Docker MySQL M-S practice
Get mirror image
docker run -p 33006:3306 --name mysql-master -v /data/docker/mysql/conf/:/etc/mysql/mysql.conf.d/:rw -v /data/docker/mysql/logs:/var/log/mysql/:rw -v /data/docker/mysql/data/:/var/lib/mysql/:rw -e MYSQL_ROOT_PASSWORD=123456 -d mysql:5.7
Enter docker mysql
docker exec -it mysql /bin/bash
docker m ...
Posted by SargeZT on Fri, 03 Apr 2020 13:23:00 -0700