摘要: github地址:https://github.com/AndyFlower/Spring-Boot-Learn/tree/master/spring-boot-nosql-redis 一、加入依赖到pom.xml 二、创建Redis服务类 Redis提供了下列几种数据类型可以存取 String h 阅读全文
posted @ 2017-08-18 17:44 霓裳梦竹 阅读(652) 评论(0) 推荐(0)
摘要: 对于传统关系型数据库来说,Spring Boot使用JPA(Java Persistence API)资源库提供持久化的标准规范,即将Java的普通对象通过对象关系映射(ORM)持久化到数据库中。 项目代码地址:https://github.com/AndyFlower/Spring-Boot-Le 阅读全文
posted @ 2017-08-18 15:25 霓裳梦竹 阅读(746) 评论(0) 推荐(0)
摘要: 很多的参数可以配置在application.properties或application.yml文件中 一、BANNER banner.charset=UTF-8 # Banner file encoding. banner.location=classpath:banner.txt # Banne 阅读全文
posted @ 2017-08-18 10:23 霓裳梦竹 阅读(772) 评论(0) 推荐(0)
摘要: 项目代码地址:https://github.com/AndyFlower/Spring-Boot-Learn/tree/master/Spring-boot-helloworld 一、Spring Boot优点 二、项目创建方式 三、基本依赖配置 四、简单的实例 注解@SpringBootAppli 阅读全文
posted @ 2017-08-18 09:55 霓裳梦竹 阅读(600) 评论(0) 推荐(0)