Browse Source

Add hibernate dialect

Joshua Mengote 4 năm trước cách đây
mục cha
commit
8088018c0f
1 tập tin đã thay đổi với 6 bổ sung6 xóa
  1. 6 6
      crss-uaa/crss-uaa-dev.yml

+ 6 - 6
crss-uaa/crss-uaa-dev.yml

@@ -1,16 +1,16 @@
 spring:
   datasource:
-    #url: jdbc:postgresql://localhost:5432/crss?currentSchema=admin
-    #username: postgres
-    #password: postgres
-    url: jdbc:postgresql://172.16.0.20:5432/crss?currentSchema=admin
-    username: crss_admin
-    password: YReYA7fI
+    url: jdbc:postgresql://localhost:5432/crss?currentSchema=admin
+    username: postgres
+    password: postgres
   profiles:
     include: embedded-ldap
   jpa:
     show-sql: false
     generate-ddl: false
+    properties:
+      hibernate:
+        dialect: org.hibernate.dialect.PostgreSQLDialect
 crss:
   security:
     oauth2: