huodongdong 7 years ago
parent
commit
d5e9ca8a27
1 changed files with 11 additions and 0 deletions
  1. 11 0
      dev/user-service-dev.properties

+ 11 - 0
dev/user-service-dev.properties

@@ -0,0 +1,11 @@
+eureka.client.service-url.defaultZone=http://discovery.rankin.com:8821/eureka/
+
+spring.datasource.url=jdbc:mysql://localhost:3306/test
+spring.datasource.driverClassName=com.mysql.jdbc.Driver
+spring.datasource.username=rankin
+spring.datasource.password=abc
+
+spring.jpa.properties.hibernate.hbm2ddl.auto=update
+spring.jpa.properties.hibernate.show_sql=true
+spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
+#spring.jpa.properties.hibernate.max_fetch_depth=1