Chapter 9 Relational Mapping of MyBatis
In practical development, the operation of database usually involves multiple tables, involving the relationship between objects and objects. MyBatis provides association mapping for operations between multiple tables, which can handle the relationship between objects very well.
9.1 Summary of Relevance Relations
One-to-one: Introduce the o ...
Posted by youscript on Sat, 08 Jun 2019 21:51:50 +0200
Settings of session, cookie, session Storage, local Storage and get deletion
I. cookie
What is Cookie?
"Cookie is a variable stored in the visitor's computer. This cookie is sent whenever the same computer requests a page through a browser. You can use JavaScript to create and retrieve cookie values. - w3school
Cookies are files created by visited websites to store browsing information, such as personal data. ...
Posted by macleo on Sat, 08 Jun 2019 21:40:11 +0200
zabbix Foundation and Advancement (1) - zabbix Component Deployment
zabbix Foundation and Advancement (1) - zabbix Component Deployment
zabbix is a well-known distributed monitoring system.Supports the collection of zabbixagent data through the proxy server zabbix proxy, then saves the collection in the local database and sends it to the zabbix server for uniform storage and display.
Zabbix services w ...
Posted by LiveFree on Fri, 07 Jun 2019 20:06:17 +0200
Centos Nginx Multi-php Version
Record the process of an installation
System: centos
php version: 5.4 5.6
Purpose: Install two php versions
1: First install the first version of php5.4 via lnmp specific command lnum has specific operations on the official network
2: Modify the configuration of php-fpm
Stop running php-fpm first, check pid of php-fpm first
[roo ...
Posted by ciciep on Fri, 07 Jun 2019 19:57:19 +0200
Example Analysis of Four Transaction Isolation Levels under MySQL
There are four isolation levels for database transactions:
Read Uncommitted: Allow dirty reading, that is, it is possible to read data in other sessions that have not submitted transaction modifications.
Read Committed: Only submitted data can be read, which is the default level for most databases such as Oracle.
Repeated Read: Repeated Read. ...
Posted by AZDoc on Fri, 07 Jun 2019 00:14:02 +0200
centos 7 compile install deploy zabbix-server side
Compile and install the zabbix-server side of the deployment in the CentOs 7.0 environment
First you need to close selinux
[root@bogon ~]# sed -i 's/SELINUX=.*/SELINUX=disabled/' /etc/selinux/config
[root@bogon ~]# setenforce 0
Close Firewall
[root@bogon ~]# systemctl stop firewalld.service
About zabbix and related service software ...
Posted by fatal on Thu, 06 Jun 2019 18:12:44 +0200
Using SDK of Authorize.net to realize payment process conforming to PCI standard
The PCI standard is a set of standards designed to maximize the protection of cardholder data. There are many requirements, you can see. PCI standard Site understanding. There are many requirements. For program apes, it is necessary to ensure that any payment information of users does not go to their own servers and do not save in their own dat ...
Posted by jynmeyer on Wed, 05 Jun 2019 23:19:03 +0200
Learning Goang Type Assertions
There is a serialize() function in php that serializes arrays into strings for storage and transmission.
If you want to deserialize this string, you only need a simple unserialize() function in php. But it's not so easy in golang. It takes a lot of effort to write a lot of code.
At this time, I just want to sigh that php is really the best lang ...
Posted by Kathy on Mon, 03 Jun 2019 23:24:04 +0200
Building Web Socket WSS Environment for Small Program Development (Apache+WorkerMan Framework+PHP)
Here we use the WorkerMan framework, the server is CentOS, the Web server is Apache, and the development language is PHP.
Because WSS is a combination of WebSocket and SSL, it is necessary to prepare the SSL certificate for the corresponding domain name in advance. Generally, there are three certificate files, such as the following:
SSLCertif ...
Posted by todayme on Mon, 03 Jun 2019 22:59:10 +0200
queue Details
Queue: Basically, a queue is a FIFO data structure
The Queue interface, at the same level as List and Set, inherits the Collection interface. LinkedList implements the Deque interface.
Implementation of Queue
1. LinkedList with Implemented Blocking Interface: Implemented java.util.Queue Interface and java.util.AbstractQueue InterfaceBuilt-in ...
Posted by sloshire1 on Mon, 03 Jun 2019 01:25:12 +0200