Skip to content

Commit 4c04be2

Browse files
author
Radek Jachimek
committed
Set spring.jpa.open-in-view to false to avoid OSIV anti-pattern
1 parent d9a72dd commit 4c04be2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/resources/application.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ spring.flyway.enabled=true
1717
spring.flyway.clean-on-validation-error=true
1818

1919
spring.jpa.hibernate.ddl-auto=none
20+
spring.jpa.open-in-view=false
2021

2122
spring.banner.location=classpath:/banner/jbd_banner.txt

0 commit comments

Comments
 (0)