摘要:
package com.example.redisspringboot.config; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.PropertyAc 阅读全文
摘要:
maven依赖 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- 阅读全文
摘要:
4.0.0 <groupId>org.example</groupId> <artifactId>Spring-study</artifactId> <packaging>pom</packaging> <version>1.0-SNAPSHOT</version> <modules> <modul 阅读全文
摘要:
4.0.0 <groupId>org.example</groupId> <artifactId>Mybatis</artifactId> <packaging>pom</packaging> <version>1.0-SNAPSHOT</version> <modules> <module>myb 阅读全文
摘要:
###环境搭建 除之前文档里的xml中还要添加一个context:component约束 ###1、xml配置 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/bea 阅读全文
摘要:
##使用注解 ###导入约束 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XML 阅读全文
摘要:
##IOC创建对象的方式 默认使用午餐构造对象,并用set方法来注入属性 <bean id="hello" class="com.pojo.Hello"> <property name="name" value="Spring" /> <!-- additional collaborators an 阅读全文
摘要:
导入依赖 (较全面) <?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-insta 阅读全文
摘要:
Spring理念 : 使现有技术更加实用 . 本身就是一个大杂烩 , 整合现有的框架技术 官网 : http://spring.io/ 官方下载地址 : https://repo.spring.io/libs-release-local/org/springframework/spring/ Git 阅读全文
摘要:
缓存 存在内存中的临时数据。 将用户经常查询的数据放在缓存(内存)中,用户去查询数据就不用从磁盘上(关系型数据库数据文件)查询,从缓存中查询,从而提高查询效率,解决了高并发系统的性能问题。 Mybatis缓存 MyBatis包含一个非常强大的查询缓存特性,它可以非常方便地定制和配置缓存。缓存可以极大 阅读全文