title: Spring Data JPA Repository with Stateless Hibernate Session in a Spring Boot Application
body: <p>I have spring boot 2.0.2.RELEASE application. Which uses Spring Data JPA Repositories to fetch Data from underlying db.</p>
  
  <p>All I want to configure is that when I use any repository function to fetch data from database it used use stateless session to communicate with DB and fetching data.</p>
  
  <p>I have googled tons of article and other resources but not found any way how to configure and do this.</p>
  
  <p>Kindly guide me to any documentation or any blog or tell me how to configure to achieve the above requirements.</p>