title: Spring JPA and Streaming - Is the data fetched incrementally?
body: <p>I am looking at <a href="https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#repositories.query-streaming" rel="nofollow noreferrer">streaming query results</a> section of the Spring documentation. Does this functionality fetch all the data at once but provide it as a stream? Or does it fetch data incrementally so that it will be more memory efficient?</p>
  
  <p>If it doesn't fetch data incrementally, is there any other way to achieve this with spring data jpa?</p>