hibernate Level 2 Cache
1. What kind of data needs to be cached
1. Data rarely modified 2. Less important data, allowing occasional concurrent data 3. Data that will not be accessed concurrently 4. Reference data refers to constant data that provides reference for use. It has a limited number of instances, and its instances are referenced by instances of many othe ...
Posted by albatros21 on Wed, 20 Oct 2021 14:05:01 -0700
Integrated Water Supply Management System Project: SpringBoot+Thymeleaf+mybatisPlus+bootstrap
1 Maven
Maven is the most popular Java project building tool
Why do I need to use Maven?
Maven can help us manage jar packages and build projects automatically in Java Web development.
1.1 Install Maven
Official download: Maven – Welcome to Apache Maven Installation: Decompress the package. Maven Core Profile Set.xml
1.2 Configuring ...
Posted by rgpayne on Wed, 20 Oct 2021 09:49:10 -0700
SpringBoot_day02 startup principle
Startup principle
1. How SpringBoot was started through the jar package
What did java-jar do
Let's first figure out what the java-jar command does, in oracle Official Web A description of the command was found:
If the -jar option is specified, its argument is the name of the JAR file containing class and resource files for the applicatio ...
Posted by ghadacr on Wed, 20 Oct 2021 09:42:53 -0700
hibernate Association
1, One to many association configuration
Database: master table, slave table, associated by foreign key
Class:
class A{
B b;
}
class B{
}
Example: order and orderItem
order entity class
package com.sjy.entity;
import java.util.HashSet;
import java.util.Set;
public class Order {
// create table t_hibernate_order
// (
// order_id i ...
Posted by dale282 on Mon, 18 Oct 2021 10:38:11 -0700
Maven project of SSH Framework
1, Maven learning objectives:
1. Experience the convenience brought by Kaiyuan's excellent framework
2. Knowledge verification of and custom MVC framework
3. Mode transformation of development mode
2, Maven definition:
1. De ...
Posted by hamboy on Wed, 13 Oct 2021 07:39:39 -0700
Maven environment configuration and use of maven
maven environment configuration
Step 1: unzip the compressed package and put it into a folder in a non Chinese directory
Compressed package download path: Maven – Download Apache Mavenhttp://maven.apache.org/download.cgi
Step 2: add system variables
Step 1: right click on my computer and click properties
St ...
Posted by ncracraf on Mon, 11 Oct 2021 15:37:41 -0700
SSM infrastructure integration
SSM infrastructure integration
Before integrating a spring + spring MVC + mybatis project, we need to understand their respective functions?
What is Spring, what is it used for, and what is its main function in SSM? Spring is an open source lightweight Java development framework, which is used to simplify the development of applications (for ...
Posted by jordanwb on Mon, 11 Oct 2021 12:34:50 -0700
Openmeetings install analysis -- directory structure analysis
2021SC@SDUSC
The version of openmeetings analyzed in this article is 4.x
Overall structure
Open the src folder of the project, open cmd in this directory, and enter the tree openmeetings install command to view the tree directory structure of openmeetings install
The src directory contains three folders: main, site, and test
The main ...
Posted by rhecker on Sun, 10 Oct 2021 01:38:10 -0700
Use IDEA to create Maven project, integrate spring MVC and MyBatis framework, and complete a simple check-in program
catalogue
Environment construction
database
Create Maven project
Configuration item
Write project
Create package structure
Writing back-end code
pojo package
util package
service package
serviceimpl package
controller package
Create front-end display page
Possible problems
Tomcat startup failed.
Garbled code problem
We ...
Posted by davidjam on Sat, 09 Oct 2021 03:00:56 -0700
❤ "An article teaches you how to solve maven" from environment to application -- it's very worth reading ❤ ️
This article is mainly about maven from environment configuration to being used in IDEA. Basically, the problems encountered are also mentioned. If not mentioned, welcome to communicate
In Java Web development, we need to manually import a large number of jar packages, and maven helps us import and configure this jar package,
1.maven pro ...
Posted by einamiga on Fri, 08 Oct 2021 17:31:46 -0700