依赖:

    <dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency> <dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-rest</artifactId>
</dependency>

repository :

@RepositoryRestResource(collectionResourceRel = "bookingMain", path = "bookingMain")
public interface BookingMainRepository extends JpaRepository<BookingMainDO, String>{

}

test rest  接口:

最新文章

  1. Problem to be sovled
  2. kuangbin_SegTree D (POJ 2528)
  3. js封装包
  4. 新浪微博客户端(34)-block的细节与本质
  5. The 10 best sweet treats in Singapore
  6. ios php RSA 非对称加密解密 der 和pem生成
  7. 谈谈“色彩空间表示方法”——RGB、YUY2、YUYV、YVYU、UYVY、AYUV
  8. 织梦系统中出现DedeTag Engine Create File False提示原因及解决方法
  9. 【Nutch2.2.1源代码分析之5】索引的基本流程
  10. 【手打】LZW编码的C/C++实现
  11. EF 分离实体
  12. jQuery attr removeAttr 属性操作
  13. java的集合框架set 和map的深入理解
  14. JDK8新特性一览
  15. 童话故事 --- 什么是SQL Server Browser
  16. LNMP安装Let’s Encrypt 免费SSL证书方法:自动安装与手动配置Nginx
  17. CountDownLatch使用
  18. pyspider 文档介绍
  19. 变量和关系符和JAVA基本类型笔记与常考面试题
  20. matplot绘图

热门文章

  1. App Technical Support
  2. vue项目打包后的资源路径问题
  3. 企业SQL笔试
  4. Setting
  5. IO队列深度max_queue_depth对系统性能的影响
  6. activiti中的查询sql
  7. Elasticsearch-6.7.0系列(一)9200端口 .tar.gz版本centos7环境--下载安装运行
  8. logback.xml例子
  9. [UE4]Grab抓取
  10. [UE4]瞬移之后的朝向