Mapper analysis of MyBatis

Mapper analysis of MyBatis Mapper Now that the behavior of MyBatis has been configured by the above elements, we are ready to define the SQL mapping statement. But first we need to tell MyBatis where to find these statements. Java doesn't provide a good way to automatically find this, so the best wa ...

Posted on Sun, 15 Mar 2020 01:22:54 -0400 by drawmack

Code demonstration C ා new functions of each version

Code demonstration C ා new functions of each version In fact, the new functions of each version can be found on the official website, but few people put them together and demonstrate each new feature through very short code. 1. C × 2.0 - 2005 1.1 generic Generics in Java do not support value ...

Posted on Sun, 15 Mar 2020 00:36:16 -0400 by belick

Database job 5

1, INDEX exercise [example 3.13]: index the three tables of Student, Course and SC in the Student Course database. The Student table has a unique index in ascending order of Student number, the Course table has a unique index in ascending order of lesson number, and the SC table has a unique index in ...

Posted on Sun, 15 Mar 2020 00:14:56 -0400 by Alphamonkey

Spring - Use IoC and DI to simulate registration cases, annotations to configure IoC and DI

Catalog 1. Simulate registration cases using IoC and DI (XML configuration) 2. Notes on configuring IoC and DI 1. DI Notes 1.1, Autowired and Qualifier annotations 1.2. Resource Notes 1.3, Value comment 2. IoC Annotation_bean Component Layout Annotation 3. Scope annotations and initialization ...

Posted on Sat, 14 Mar 2020 23:56:18 -0400 by billf

Mybatis learning road 3

@Param() annotation Reference type does not need to be added If there is only one basic type, it can be ignored What is referenced in sql is the field name set in the annotation Advanced result mapping public class Student { private int id; private String name; private Teacher teacherr; } public class Teacher { private int id; ...

Posted on Sat, 14 Mar 2020 11:30:58 -0400 by kutchbhi

MySQL learning notes: filtering data + data filtering

This article is my study of the book "MySQL must know will" notes series, welcome to collect learning, any question comment, discuss together. Chapter VI filtering data The WHERE clause of the SELECT statement specifies the search criteria. 6.1 check single value: output data with gender m ...

Posted on Sat, 14 Mar 2020 02:24:33 -0400 by tieded

Gausdb t ha mode deployment

Currently, gausdb t supports one active multi standby deployment and one active multi standby multi-level joint standby deployment. The sum of the number of standby machines and cascade standby machines can support up to 9. This paper is an active and standby environment. The Primary role in gausdb t is the Primary node in the Primary Standby ...

Posted on Fri, 13 Mar 2020 01:17:41 -0400 by karnegyhall

java swing alarm clock small project

A simple alarm clock project Style: Functions: Key introduction: Select the 24-hour time of the week, select the ringing tone, click OK to lock it, select and enter the setting alarm clock (Monday is the default ringing tone, the default sitcom is Amway's next Meng Meiqi) Click Reset to reset selection ...

Posted on Fri, 13 Mar 2020 00:06:17 -0400 by apoc-

A Spring transaction thread security issue, as you know!

Preface A strange problem with Spring transactions. A friend asked me a technical question (my friend is really learning, admire!) The source of the problem is known (synchronized lock problem): https://www.zhihu.com/question/277812143 Open 10,000 threads, each thread adds 1 to the money field of t ...

Posted on Thu, 12 Mar 2020 22:01:21 -0400 by runsum

Oracle join multi table query

Article directory 1, Generate test data 1. Create super girl basic information history table 2. Create super girl basic information table 3. Test data description 2, Table name qualification 3, join example 1. inner join 2. left join 3. right join 4. full join 5. Cartesian product (cross join) 4, ...

Posted on Thu, 12 Mar 2020 06:41:13 -0400 by optiplex