Commit c31205909cf5f0f1ce7c02c5c41925f455f9e8d9
1 parent
cffa9aa1
1.
Showing
2 changed files
with
2 additions
and
0 deletions
src/main/resources/application-dev.properties
| ... | ... | @@ -8,6 +8,7 @@ spring.jpa.hibernate.ddl-auto= update |
| 8 | 8 | spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyHbmImpl |
| 9 | 9 | spring.jpa.hibernate.naming.physical-strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy |
| 10 | 10 | spring.jpa.database= MYSQL |
| 11 | +spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true | |
| 11 | 12 | spring.jpa.show-sql= true |
| 12 | 13 | |
| 13 | 14 | #DATABASE | ... | ... |
src/main/resources/application-prod.properties
| ... | ... | @@ -8,6 +8,7 @@ spring.jpa.hibernate.ddl-auto= none |
| 8 | 8 | spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyHbmImpl |
| 9 | 9 | spring.jpa.hibernate.naming.physical-strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy |
| 10 | 10 | spring.jpa.database= MYSQL |
| 11 | +spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true | |
| 11 | 12 | spring.jpa.show-sql= true |
| 12 | 13 | |
| 13 | 14 | #DATABASE | ... | ... |