瀏覽代碼

postgres jpa

Kr Younger 6 年之前
父節點
當前提交
5840105af2
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      src/main/java/com/example/throwupthursday/ThrowupThursdayApplication.java

+ 2
- 0
src/main/java/com/example/throwupthursday/ThrowupThursdayApplication.java 查看文件

@@ -2,10 +2,12 @@ package com.example.throwupthursday;
2 2
 
3 3
 import org.springframework.boot.SpringApplication;
4 4
 import org.springframework.boot.autoconfigure.SpringBootApplication;
5
+import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
5 6
 
6 7
 //
7 8
 
8 9
 @SpringBootApplication
10
+@EnableJpaRepositories
9 11
 public class ThrowupThursdayApplication {
10 12
 
11 13
 	public static void main(String[] args) {