day20191104 notes

MyBatis notes:

A semiautomatic .MyBatis ORM mapping frame, the data in the database and the program in automatic mapping prerequisite
1. The fields in the database must be consistent with the program attribute
data type 2. The program attribute must be basic data Types of

Second, the dynamic sql, based ONGL powerful language expressions, solve complex problems, such as: multi-conditional, data processing ... and more
common dynamic sql tag
condition tag if, choose
the iteration tag foreach
the WHERE Tags: intelligently and ignores the extra or language or

 

Thinking:

1. You learn bad, because you spend too little time. Knock code is too small, not learning attitude, learning the right way. ? More learning, more than a lot of effort, a lot to ask someone else. You will not, you do not ask your roommate classmates sister school seniors teacher, how do you know your roommate will not it? . School, key in your learning problems solved? Figured out yet? Understand yet? People forgetting curve, practice makes perfect. Qinnengbuzhuo. No one is perfect, no matter finished was something wrong with it corrected.

2. Enter the code to go. . Learn to Baidu search, keyword search, find location information I'm looking for. Q & A

3. Code do not understand the investigation, find out the role of each code word, every line of code has a role was written, every line of code is not Xia Xie, no extra code, the code is structured and thought it like the English word will not go to check, like, just do not know Chinese characters vocabulary words as to investigate. The back-end is very strict, each line of code has thought of.

Guess you like

Origin www.cnblogs.com/effortandluck/p/11802284.html