I would like to use Spring JDBCTemplate , but I would like to get a ResultSet that does not store the complete query result in memory, since you could find a standard operator with java JDBC . The closest I found to the ResultSet was
SqlRowSet sqlRowSet = template.getJdbcOperations().queryForRowSet(query, queryParameters);
but does it load the entire database result into memory?
source share