FirebirdSQL / jaybird

JDBC driver for Firebird
https://firebirdsql.org/en/jdbc-driver/
GNU Lesser General Public License v2.1
94 stars 23 forks source link

FbStatement.fetchRows does not throw exception for fetch size 0 or less #756

Closed mrotteveel closed 1 year ago

mrotteveel commented 1 year ago

Currently, FbStatement#fetchRows does not throw exceptions for fetch size 0 or less, both for NATIVE and PURE_JAVA. This should be corrected, using the same exception as thrown by V11Statement#asyncFetchRows (see #755)

mrotteveel commented 1 year ago

We intentionally do not check it for fetchScroll, and let the server sort that out.