I see a lot of \"best practices\" guides for JDBC/MySQL that tells me to specify setFetchSize().
However, I have no idea when to specify, and what(statement, result
Found a good article with examples to your question:
https://www.baeldung.com/jdbc-resultset
7.1. Using Fetch Size on Statement 7.2. Using Fetch Size on ResultSet