1: Link to idea database
2: The first mybatis process
1: The package and xml interceptor required by Maven are intercepted and scanned
<?xml version="1.0" encoding="UTF-8"?>
Posted by Fruct0se on Wed, 09 Mar 2022 08:38:49 +0100
Algorithm website: https://visualgo.net/
Chapter 5 advanced JAVA object-oriented programming
To create a new package, write it upside down according to the domain name to ensure that the package is unique
You can create new classes in the package. The directory tree is shown in the figure below
5.2.3 = = and equals methods ...
Posted by sprocket on Wed, 09 Mar 2022 08:17:33 +0100
1. Two way binding does not take effect
The drop-down box has three options: A, B and C, but after selecting B, it still displays A. in fact, the value selected in v-model has become B, but the display has not changed.
Cause of problem: queryParams. Attribute of v-model binding xxx and queryParams are attributes declared in data. xxx is not w ...
Posted by Rustywolf on Tue, 08 Mar 2022 01:44:56 +0100
Note: This article is a note taken following the mybatis course of crazy God talking about java. Don't spray it if you don't like it!
Link to mybatis Video: [crazy God says Java] the latest complete tutorial of Mybatis, the IDEA version is easy to understand_ Beep beep beep_ bilibili
What is MyBatis
MyBatis is an excellent persistence la ...
Posted by russlock on Sat, 05 Mar 2022 09:39:45 +0100
Chapter 6 notes static, final and constant design
Section 1 static
Static static, a special keyword in Java - Variable - Method - class - anonymous method block
Static variable, class common member
The static variable only depends on the existence of the class (accessed through the class)The values of static variables of all object ...
Posted by ojsimon on Thu, 03 Mar 2022 16:16:25 +0100
1, System introduction
1. Development environment
2. Technical selection
3. System functions
4. Database files
5. System screenshot
2, System display
1. Log in to the system
2. System home page
3. New pets
4. Modify pets
3, Partial code
Posted by webnick on Thu, 03 Mar 2022 10:47:14 +0100
VII Arrays and data storage
1. Array definition
An array is an ordered collection of data of the same type. Among them, each data is called an element, and each element can access them through an index (subscript).
Four basic features of arrays:
The length is determined. Once an array is created, its size cannot be ch ...
Posted by amansabharwal on Wed, 02 Mar 2022 19:11:57 +0100
Overview of Java reflection mechanism
1.Java reflection: the mechanism refers to that in the running state of the program, the object of any class can be constructed, the class to which any object belongs can be understood, the member variables and methods of any class can be understood, and the properties and methods of any object can be ...
Posted by guitarlvr on Tue, 01 Mar 2022 14:34:30 +0100
JSR303 performs data verification
1. Add verification annotation to Bean Multiple annotations can be verified
@NotBlank(message = "Brand name cannot be empty")
private String name;
//Cannot be empty + custom rule
@Pattern(regexp = "!/^[a-zA-Z]$/",message = "The search initial must be a letter")
private String firstLetter;
Posted by Kodak07 on Tue, 22 Feb 2022 00:50:58 +0100