MyBatis: developing with annotations

Interface oriented programming You have learned object-oriented programming and interface before, but in real development, we often choose interface oriented programming Root cause: decouple, expand, improve reuse, in layered development, the upper layer doesn't need to care about the specific implem ...

Posted by ammupon on Mon, 16 Mar 2020 22:35:24 -0700

Read MySQL 5.7 document 11.2 Date and Time Data Types summary

Author: Wei Xinping, the 5th MySQL practical class student of zhishutang, the 10th MySQL optimization class student, now works as a teaching assistant. Read MySQL 5.7 document 11.2 Date and Time Data Types MySQL can be divided into five types: date, datetime, timestamp, time, and year. Next, I'd like to introduce you one by one. DATE type Store ...

Posted by ludachris on Mon, 16 Mar 2020 21:00:55 -0700

How to use AbpSettings gracefully

Although it's convenient to use the configuration in Abp, it's a troublesome thing to define the key in each configuration first, define it in the provider, and then use the key to get it from ISetting, The most important thing is to get changes. For example, to modify user configuration, it is more difficult to get a batch of key/value to retu ...

Posted by klaibert26 on Sun, 15 Mar 2020 01:51:36 -0700

Front and Back End Key Allocation Verification

Each time this page is opened, the backend generates a certificate based on Session if(!isset($_SESSION['key_pub'])){ $rsa_model=new \Home\Library\Org\Util\Rsa(); $_SESSION['key_pub']=$rsa_model->privateKey; $_SESSION['key_pri']=$rsa_model->privateKey; } $this->assign("pub_token",$_SESSION['key_pub' ...

Posted by synapp2 on Sat, 14 Mar 2020 09:33:32 -0700

Install SSL certificate on Apache server and configure http jump https tutorial

Specific reference: Alicloud tutorial This paper is a summary of pit falling 1. In the section of modifying httpd.conf configuration file, you need to make the following settings #Loadmodule SSL ﹣ module modules / module ﹣ ssl.so ᦇ delete the comment symbol of configuration statement at the beginnin ...

Posted by uknowho008 on Sat, 14 Mar 2020 02:45:29 -0700

Java mail 163 email 163 email 163 how to apply for authorization code

Java send mail 163 email to 163 email, enterprise email, QQ email, etc As mentioned in the last article java sends QQ mail , and Several ways to send mail ; in this article, we will talk about how to match all mail in the enhanced version. The following Demo is to send a plain text email, but part o ...

Posted by Tindo on Fri, 13 Mar 2020 08:07:11 -0700

WEB--EL&JSTL (IDEA version)

JSP: 1. instruction *Function: used to configure JSP pages and import resource files * format: <% @ instruction name property name 1 = property value 1 property name 2 = property value 2...% > * classification: 1. page: configure the *contentType: equivalent to response.setContentType() ...

Posted by shadow1200 on Fri, 13 Mar 2020 01:13:27 -0700

MyBatis many to one, one to many

Multiple students, corresponding to a teacher; For students, multiple students are related to one teacher For a teacher, there are many students in a teacher Many to one 1. Create the corresponding sql (mybatis.student, mybatis.teacher); 2 2. Import the corresponding dependency (pom.xml) <depend ...

Posted by spstieng on Thu, 12 Mar 2020 23:26:39 -0700

Moment Pool Cloud|Shows you how to use GAN to color the Pocket Monster

In previous Demo, we used conditional GAN to generate handwritten digital images.So what else can we do with neural networks in addition to generating digital images? In this case, we use a neural network to color the wireframe of the Pocket Monster. Step 1: Import Usage Library from __future__ import absolute_import, division, print_function, ...

Posted by ghurty on Thu, 12 Mar 2020 19:30:03 -0700

IoC in spring

Article directory 1. Spring's IoC core container 2. Details of spring's bean management 1. Three ways to create bean s 2. Scope of bean 3. Life cycle of bean object 3. Dependency injection in spring 1. Use constructor 2. Use set method (more commonly used) 3. Use notes 4.Spring configuration note ...

Posted by adrian_melange on Thu, 12 Mar 2020 01:58:01 -0700