소스 검색

Add postgres and jpa config to global since we're using postgres

Monte Cillo Co 8 년 전
부모
커밋
bc1c5943e9
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      application.yml

+ 10 - 0
application.yml

@@ -6,6 +6,16 @@ spring:
     show-sql: false
     hibernate:
       ddl-auto: none
+      dialect: org.hibernate.dialect.PostgreSQLDialect
+      hbm2ddl:
+        import_files:
+  datasource:
+    platform : postgres
+    driverClassName: org.postgresql.Driver
+    connectionTimeout: 10000
+    maxPoolSize: 20
+    test-on-borrow: true
+    validation-query: SELECT 1
 
 security:
   oauth2: