[CONJ-520] "java.sql.BatchUpdateException: (conn:12908) Unknown command" exceptions when excuted batches of prepared statements Created: 2017-09-01  Updated: 2017-09-20  Resolved: 2017-09-20

Status: Closed
Project: MariaDB Connector/J
Component/s: Other
Affects Version/s: 2.1.0
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Yannick Schinko Assignee: Diego Dupin
Resolution: Won't Do Votes: 1
Labels: unknown_command
Environment:

Debian 9.1
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-1~bpo8+1-b11)
10.3.0-MariaDB-0+exp2-log



 Description   

When executing batches of prepared statements, the attached exception occurs:
https://hastebin.com/sitadonilu.log
And here from a different source:
https://hastebin.com/siwicameti.log

I don't know what else you need.



 Comments   
Comment by Diego Dupin [ 2017-09-01 ]

Hi BrainStone, this has been corrected with MariaDB 10.3.1 version (still Alpha).
If you test it with Docker, since a few days, last version 10.3 now default on 10.3.1.

(that's why i've just added 10.3 to test suite : https://travis-ci.org/MariaDB/mariadb-connector-j/builds/270558209 )

If you still want to test 10.3.0, you can use driver, but set the option "useBulkStmts" to false. (Implementation has issue with 10.3.0).

Comment by Diego Dupin [ 2017-09-20 ]

fixed in server

Generated at Thu Feb 08 03:16:17 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.