Browse Source

depth hibernate

huodongdong 7 years ago
parent
commit
12f022ec23
1 changed files with 1 additions and 0 deletions
  1. 1 0
      dev/product-service-dev.properties

+ 1 - 0
dev/product-service-dev.properties

@@ -7,3 +7,4 @@ spring.datasource.password=abc
 
 spring.jpa.properties.hibernate.hbm2ddl.auto=update
 spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
+spring.jpa.properties.hibernate.max_fetch_depth=1