Comments - About MariaDB Connector/J
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.
Is the comment above still accurate? Looking at the source of
org.mariadb.jdbc.MySQLResultSet.setFetchSize(int)
, I see the following:"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
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.I updated the page with correct instructions.