Comments - About MariaDB Connector/J

10 years ago Vladislav Vaintroub

"we fetch'em all" is not accurate. However that fetch size is ignored here is accurate. The one fetch size that matters for streaming is in MySQLStatement, not in MySQLResultSet

 
10 years ago Erik Mattheis

Can someone update this page with the correct instructions?

Obviously calling ResultSet.setFetchSize(Integer.MIN_VALUE) will have no impact on the resultset.

Calling Statement.setFetchSize(Integer.MIN_VALUE) does the trick.

 
10 years ago Vladislav Vaintroub

I updated the page with correct instructions.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.