I have a query that sometimes returns a ResultSet that is too large for memeory (yes, I have added the java params to set the memory as high as possible, but still crashes). Is there a way to limit the size and still retrieve everything in segments or sessions?
Example, the full results will return 10,000 rows, but it's too large so I want to get 5,000 rows, then the next 5,000 rows. We are using Spring jdbc classes and I can't seem to find a way to do it using getMoreResults and setMaxRows
Example, the full results will return 10,000 rows, but it's too large so I want to get 5,000 rows, then the next 5,000 rows. We are using Spring jdbc classes and I can't seem to find a way to do it using getMoreResults and setMaxRows