[CONJ-1126] setting fetchSize directly on a ResultSet object does not reflect the expected change Created: 2023-11-18 Updated: 2023-11-21 Resolved: 2023-11-21 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | Other |
| Affects Version/s: | 3.3.0 |
| Fix Version/s: | 3.3.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Wenqian Deng | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Setting the fetch size directly on a ResultSet object does not reflect the expected change, whereas setting it on the Statement object does.
In the provided test case, the fetch size is initially attempted to be set directly on a ResultSet object using rs.setFetchSize(40), but querying rs.getFetchSize() afterwards still returns 0, indicating that the fetch size was not updated. In contrast, setting the fetch size on the Statement object using stmt.setFetchSize(20) works as expected. Furthermore, if the fetch size is first set on the Statement and then modified on the ResultSet, the new value is successfully applied. |
| Comments |
| Comment by Diego Dupin [ 2023-11-21 ] | |||||||||||||||
|
Correction done Until release, correction is available using through:
|