Disable Open Session in View in a Spring Boot Application

For disabling OSIV, we need to set up spring.jpa.open-in-view in application.properties as follows:

spring.jpa.open-in-view=false
Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: