Integration and subsequent use of mybatis resources
catalogue
1. Concept of mybatis (what is mybatis)
2. Why use MyBatis
Steps for using mybatis
Specific configuration
Extension: multi table associated query
Many to one:
One to many:
nested queries
Dynamic SQL:
1. Concept of mybatis (what is mybatis)
MyBatis ...
Posted by jesserules on Fri, 03 Dec 2021 15:19:49 +0100
Application of Write-time Replication in CopyOnWriteArrayList
Foreword: The code in this article is based on JDK1.8
Thread Insecure List
java.util.LinkedListjava.util.ArrayList
Thread-safe List
java.util.VectorJava.util.Stack (a subclass of Vector that encapsulates Vectors and can only do a FIFO stack operation)Java.util.Collections.SynchronizedList (a static internal class in Collections)java ...
Posted by exhaler on Wed, 24 Nov 2021 18:24:12 +0100
IDEA+Java console to realize pet management system [recommended collection]
catalogue
1, System introduction
1. Development environment
2. Technical selection
3. System functions
4. Access to resources
2, System display
1. Log in to the system
2. Query pet information
3. Add pet information
4. Update pet information
5. Delete pet information
3, Partial code
BusinessService
LoginService
4, O ...
Posted by akforce on Sun, 21 Nov 2021 06:59:44 +0100
Simple use of dynamic SQL for Mybatis basic learning
preface:
Hello, guys, I'm running snail rz. Of course, you can call me snail Jun. I'm a rookie who has studied Java for more than half a year. At the same time, I also have a great dream, that is, to become an excellent Java Architect one day.
This Mybatis basic learning series is used to record the whole process of learning the basic ...
Posted by jbbaxx on Fri, 19 Nov 2021 06:24:20 +0100
Integrated Mybatis Framework for SpringBoot Basic Learning
Preface:
Hello, ladies and gentlemen, I'm running like a snail rz. Of course you can call me Snail Jun. I'm a beginner who has studied Java for more than half a year. At the same time, I have a great dream that I will become an excellent Java architect one day. This SpringBoot Basic Learning Series is used to record the entire process of le ...
Posted by exa_bit on Tue, 19 Oct 2021 18:23:02 +0200
Java se: data types and operators
Data types and operators
Variables and types
Variable refers to the variable amount when the program runs, which is equivalent to opening up a memory space to save some data, and the value of the variable can be known only when the program runs. Type is a division of variable types. Variables of different types have different characterist ...
Posted by tores on Sat, 16 Oct 2021 03:25:43 +0200
Idea + Maven implement spring MVC
1, Introduction to spring MVC
Spring MVC is a part of the Spring Framework and a lightweight Web framework based on Java to implement MVC.
MVC is a programming idea (it is divided into three layers, Model View Controller, and each laye ...
Posted by ten31studios on Sun, 19 Sep 2021 12:43:32 +0200
Mybatis's IDEA version is easy to understand
brief introduction
What is Mybatis?
MyBatis is an excellent persistence layer frameworkIt supports custom SQL, stored procedures, and advanced mapping.MyBatis eliminates almost all JDBC code and the work of setting parameters and obtaining result sets.MyBatis can configure and map primitive types, interfaces and Java POJO s (Plain Old Java ...
Posted by april2008 on Tue, 14 Sep 2021 06:07:41 +0200
Learning log day47 (2021-09-13) (1, Maven 2, Create maven project through IDEA)
Learning Content: Learning Java Web (Day47)
1,Maven 2. Create maven projects through IDEA
1,Maven
(1) Project automation and project management software provided by the Apache Software Foundation. Based on the concept of Project Object Model (POM), Maven uses a central piece of information to manage the steps of building, reporting, and do ...
Posted by WebGeek182 on Mon, 13 Sep 2021 18:20:40 +0200
IDEA builds the latest Spring source code environment based on Gradle and JDK11
The status of spring is self-evident. Many big guys have studied it. I believe you have been asked to talk about IOC, AOP, spring startup process, Bean initialization process, circular dependency and other issues more than once in the interview. Just looking at the eight part essay written by others, I haven't seen the source code. I don't know ...
Posted by atravotum on Sun, 12 Sep 2021 05:00:16 +0200