-
Notifications
You must be signed in to change notification settings - Fork 38k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add iterable JDBC template to process large amount of data [SPR-13900] #18474
Comments
What is the status on this one ? Is been two years have the plans changed ? |
Could this be prioritized higher for future releases? We realized last week that Spring Data JDBC is not capable of streaming large result sets and we are encountering the first memory issues because of this. |
Talking to the Spring Data team, we're aiming for an arrangement in the Spring Framework 5.3 timeframe now, with iterable methods on |
A first cut of this is ready now, introducing |
Michael Osipov opened SPR-13900 and commented
I have a usecase where I need to write a table with millions of rows to an output stream via HTTP. Those data cannot be reasonably fetched with the current
JdbcTemplate
. One would need an abstracted iterator which does all the nice stuffJdbcTemplate
but does not spill memory.Fortunately, there is springjdbc-iterable but the author is not maintaining it anymore. I have requested to donate this code to Spring core to have this by default.
Affects: 4.2.4
Issue Links:
1 votes, 2 watchers
The text was updated successfully, but these errors were encountered: