dcsimg
LinkedIn
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Java
Expertise: Intermediate
Aug 12, 2019

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
Octavia Anghel
 
Close Icon
Thanks for your registration, follow us on our social networks to keep up-to-date