mybatis Travel Chapter 6 - Association Query
I. Introduction
Through dynamic SQL, we can compile complex SQL, but the previous examples are single-table queries. In actual development, of course, not all single-table queries. Many times we need to carry out related multi-table queries (some companies still try to use single-table queries for performance). The relationship between tables ...
Posted by oaskedal on Fri, 10 May 2019 14:16:08 +0200
logback source code analysis-2, appender parsing
Source code based on logback 1.1.2
The logback.xml file is as follows
<?xml version="1.0"?>
<configuration scan="true" scanPeriod="30 seconds">
<property name="fileDir" value="/export/log/ingoreTest"/>
<appender name="debugFile" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${ ...
Posted by kumaran on Fri, 10 May 2019 09:24:03 +0200
Packaging knowledge combing
Our daily computer mainframe encapsulates cpu, memory, motherboard and so on into the chassis. If there is no chassis, then there is no boot button, then we need to operate the jumper directly to turn on the computer. In this way, if the operation is not careful, the machine will be damaged and dangerous, then if encapsulated w ...
Posted by aaronlzw_21 on Thu, 09 May 2019 21:46:02 +0200
Html Introduces Baidu Rich Text Editor ueditor
Rich text editor is powerful and easy to use. I use Baidu Rich Text Editor. First of all, I need to download it well. demo of Baidu Editor,
Then create the ueditor.html file, introduce Baidu Editor, then introduce it into the html file, and then use js to instantiate the editor. The code is as follows:
<!DOCTYPE html>
<html>
<h ...
Posted by elle_girl on Thu, 09 May 2019 20:10:04 +0200
What new common grammars are added to ES6
Defined function
Let's start with a basic new feature. In javascript, defining functions requires keyword functions, but in es6, there are more advanced ways to write them. Let's see:
es6 writing:
var human = {
breathe(name) { //UnwantedfunctionIt can also be defined. breathe Function.
console.log(name + ' is ...
Posted by roach on Thu, 09 May 2019 13:12:04 +0200
java—— reflection details
Reflection is rarely used in our ordinary program development, but it is used extensively in our underlying program design, such as agent mode, factory mode and some other design modes, including the development tools we use, as well as at the bottom of many open source frameworks.So mastering Java's reflection mechanism is very ...
Posted by ejames13 on Wed, 08 May 2019 17:18:03 +0200
Express Tutorial Series: Basic Use of session
1. About session
session is another mechanism for recording the status of clients. Unlike cookie s, which are stored in client browsers, sessions are stored in servers.When the client accesses the server, the server generates a session object with the key:value stored in it, and the server passes the key back to the client's cookie. When the u ...
Posted by zilem on Wed, 08 May 2019 06:30:03 +0200
js review: prototype chain
Prototype chain
The prototype chain is actually a mechanism of inheritance in JavaScript. Before we understand the prototype chain, we should first understand several concepts: this, ordinary object and function object, constructor, new.
this
This is a confusing concept for many people, but to understand the prototype chain we have to understan ...
Posted by billspeg on Wed, 08 May 2019 06:15:04 +0200
Technical summary
Install pygame module
Install modules for making games
Installation through pip command
pip install pygame
Game Initialization and Exit
Initialization
pygame.init()
Sign out
pygame.quit()
Rectangular area object
Four Elements of Rectangular Area
x coordinates, y coordinates, width, height
x,y,width,heigh
Descri ...
Posted by khefner on Wed, 08 May 2019 02:15:03 +0200
Array Knowledge Point Arrangement
Array Knowledge Point Arrangement [the most detailed and comprehensive]
array
Why learn arrays?
The Concept of array
Initialization of arrays
Array Notes
Traversal of arrays
On Value Passing and Reference Passing in Arrays
array
Hello! This chapter mainly collates the knowledge points related to arrays. If you want to ...
Posted by suave4u on Tue, 07 May 2019 13:30:03 +0200