DEV Community

Discussion on: Transaction in Spring Boot as simple as possible

Collapse
 
khmarbaise profile image
Karl Heinz Marbaise

Are you aware of using the spring.jpa.open-in-view property which is by default true? This creates an transaction over each rest call...
more details here:
stackoverflow.com/questions/305494...

Collapse
 
fabiothiroki profile image
Fabio Hiroki

I didn't know about this property! Thanks for the information!