Changed  spring.jpa.openInView to 'false'