Browse Source

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

Monte Cillo Co 8 years ago
parent
commit
bc1c5943e9
1 changed files with 10 additions and 0 deletions
  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: