Explorar el Código

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

Monte Cillo Co hace 8 años
padre
commit
bc1c5943e9
Se han modificado 1 ficheros con 10 adiciones y 0 borrados
  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: