摘要: 在SpringBoot的启动配置中,有几个重要的回调机制ApplicationContextInitializer,SpringApplicationRunListener,ApplicationRunner,CommandLineRunner,前两个是配置在META-INF/spring.fact 阅读全文
posted @ 2019-08-28 14:56 七月的风没有雨 阅读(473) 评论(0) 推荐(0) 编辑
摘要: 一丶SpringData简介 SpringData底层封装了,Hibernate,Toplink,OpenJPA,所有我们只需要简单的配置就可以操作数据库了。 二丶整合SpringData JPA JPA:ORM(Object Relational Mapping) 在创建项目之前,勾选中Spirn 阅读全文
posted @ 2019-08-28 14:40 七月的风没有雨 阅读(191) 评论(0) 推荐(0) 编辑