[Java foundation] 11 "single column set and generics

Collection collection Collection overview In the previous basic class, we have learned and used ArrayList, so what is a collection? Collection: collection is a container provided in java, which can be used to store multiple data. Since sets and arrays are containers, what's the difference between ...

Posted on Tue, 04 Feb 2020 02:58:39 -0800 by MrNonchalant

phpstudy Project Actual Warfare - Message Board (Detailed)

follow PHP Chinese Network Learn to make message boards... Previously, I blogged on csdn about a simple operation of phpstudy. Click here to enter During the epidemic, we have to pick up what we missed at home. Next, I will add more to what we haven't written before. 5. Creation of PHP Display Lis ...

Posted on Fri, 31 Jan 2020 20:28:08 -0800 by saito

PHP implements a rude sign-in page

PHP implements a rude sign-in page Today I came to the water with a funny face without** use. The code is simple, bloated and incomplete. Every big man is blowsy, and I hope he can give me some advice. First, consider the need for at least four pages: register.html, register.php, login.html, and login.php.register.html is written as follows: &l ...

Posted on Fri, 31 Jan 2020 16:14:11 -0800 by TWD

Let me show you how Mybatis annotation works

There are two ways for Mybatis to write sql, i.e. through xml and annotation. I prefer xml configuration, but annotation needs to be understood. In addition, xml in Mybatis takes precedence over annotation loading, that is, if the method in DAO interface has corresponding xml configuration, adding annot ...

Posted on Fri, 31 Jan 2020 12:31:16 -0800 by Eckstra

Install and configure MySQL 5.8 on Windows 10

Download MySQL 8.0 windows zip package Download address Extract to installation directory Add the installation directory / bin to the PATH environment variable Create a new file my.ini in the installation directory and write the basic configuration [mysqld] # Remove leading # and set to the amount of RAM for the most impor ...

Posted on Fri, 31 Jan 2020 09:38:05 -0800 by trystan

C ා connect to SQL Server database

Executing SQL statements: Command object 1.Command object overview The    command object is a data command object. Its main function is to send SQL statements of query, update, delete and modify operations to the database. Command objects are mainly in the following ways.   &emsp ...

Posted on Fri, 31 Jan 2020 07:49:13 -0800 by nestorvaldez

On MySQL(3) common date query induction

Recently, I have summarized some common skills in date query, so I will make some corresponding summaries here, hoping to help developers: Here is the data table to be used: the format of date field in the data table is datetime type The sql to create the table is as follows: DROP TABLE IF EXISTS `tips`; CREATE TABLE `tips` ...

Posted on Fri, 31 Jan 2020 04:14:29 -0800 by cage

2018 swoole actual combat 5-asynchronous mysql

Following the last chapter 2018 swoole 4-asynchronous io reading and writing This presentation Asynchronous mysql of swoole Analog data Create a new book table in the local test database and write the simulation data CREATE TABLE `book` `id` int(11) NOT NULL AUTO_INCREMENT, `content` text,( `titlle` varchar(255) NOT NULL COM ...

Posted on Fri, 31 Jan 2020 00:22:51 -0800 by Rai_de

Stored procedure of SqlServer2012 instance

--1. Call the help system to find the system stored procedure or function to display the version number and current system time of SQL Server. (hint: in help, you can query the corresponding functions or stored procedures according to keywords to complete the task.) the code screenshot and running result screenshot are as follo ...

Posted on Fri, 31 Jan 2020 00:05:26 -0800 by Mundo

Spring Road (31) - use NamedParameterJdbcTemplate to complete database operation (JavaConfig configuration)

background In the previous article, we completed the instance of database add, delete, modify and query under the JdbcTemplate, in which the configuration of related bean s is realized through xml and annotation. JdbcTemplate transfers parameters according to the placeholder location. In this article, ...

Posted on Wed, 29 Jan 2020 01:07:13 -0800 by jh21236