-
-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support MariaDB driver 3.x - Illegal fetch size, batched jdbc exception translation, SqlRow blob reading #2782
Comments
Do you want to submit a PR that bumps the jdbc driver the tests are using for MariaDB ? (that will then reproduce the problem) |
rbygrave
added a commit
that referenced
this issue
Aug 17, 2022
…n translation, SqlRow BLOB reading - Batched JDBC SQLException translation - Need to dig into nested exception to get cause error state - SqlRow BLOB reading - BLOB can come as LONGVARBINARY (TestRawSqlBuilder) - Fix test for history using system time (TestHistoryInsert) - Fix SqlQueryCancelTest - Fix TestSqlUpdateExceptions
rbygrave
added a commit
that referenced
this issue
Aug 17, 2022
…pdate #2782 - Support MariaDB jdbc driver update - Batched JDBC SQLException translation, SqlRow BLOB reading
rbygrave
changed the title
Illegal fetch size when using most recent MariaDB driver
Support MariaDB driver 3.x - Illegal fetch size, batched jdbc exception translation, SqlRow blob reading
Aug 17, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using
setFetchSize(Integer.MIN_VALUE)
(introduced by #56) is not allowed according to the documentation ofsetFetchSize
:It seems that older MariaDB drivers (<3.x.x) accepted
Integer.MIN_VALUE
for compatibility reasons, however the new major driver version was apparently rewritten from scratch to closely follow the JDBC specs and thus raises an exception when called withInteger.MIN_VALUE
.According to the documentation the proper solution is to use
setFetchSize(1)
.My current workaround is to stick with the older driver but I would really like to update.
The text was updated successfully, but these errors were encountered: