• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






天生自然

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2022年3月18日

Spring Boot整合Swagger2搭建Restful API在线文档总结
摘要: Spring Boot整合Swagger2搭建Restful API在线文档 整合Swagger2步骤: 1. pom文件新增引用: <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifa 阅读全文
posted @ 2022-03-18 19:08 吴裕雄 阅读(58) 评论(0) 推荐(0)
 
Spring Boot整合JPA总结
摘要: 1. Spring Boot整合JPA JPA 全称为JAVA Persistence API ,它是一个数据持久化的类和方法的集合。JPA 的目标是制定一个由很多数据库供应商实现的API ,开发人员可以通过编码实现该API 。目前,在Java 项目开发巾提到JPA 一般是指用Hibernate 的 阅读全文
posted @ 2022-03-18 18:54 吴裕雄 阅读(168) 评论(0) 推荐(0)
 
打印springboot容器的所有实例关键代码
摘要: @Bean public CommandLineRunner commandLineRunner(ApplicationContext ctx) { return args -> { System.out.println("Let's inspect the beans provided by Sp 阅读全文
posted @ 2022-03-18 18:47 吴裕雄 阅读(133) 评论(0) 推荐(0)