摘要:
Employee package com.example.demo.domain; import java.io.Serializable; public class Employee implements Serializable { private Integer id; private Str 阅读全文
摘要:
一级缓存--SqlSession级别 数据库表tb_user User package com.example.demo.domain; public class User { private Integer id; private String name; private String sex; 阅读全文
摘要:
if 新建表employee Employee package com.example.demo.domain; import java.io.Serializable; public class Employee implements Serializable { private Integer 阅读全文
摘要:
一对一 创建数据表 CREATE TABLE `tb_card` ( `id` int NOT NULL AUTO_INCREMENT , `code` varchar(18) NULL , PRIMARY KEY (`id`) ); insert into tb_card(code) values 阅读全文
摘要:
整体结构 pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-ins 阅读全文
摘要:
SpringMvc Interceptor拦截器的配置与使用 参考 loginForm.jsp <%-- Created by IntelliJ IDEA. User: mythsky Date: 2017/12/5 Time: 21:57 To change this template use F 阅读全文
摘要:
pom.xml <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>5.0.1.RELEASE</version> </ 阅读全文
摘要:
pom.xml <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>5.0.1.RELEASE</version> </ 阅读全文
摘要:
在http://mvnrepository.com/中搜索需要的包 pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:// 阅读全文
摘要:
pom.xml <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjrt</artifactId> <version>1.8.13</version> </dependency> <dependency> <groupId>o 阅读全文