I've been trying to check how that can work with mysql driver, since for me it's not normal, and server disallow having LONG_DATA with length > max_allowed_packet in MariaDB 10.3, 10.2, 10.1, 10.0 and MySQL 5.7 (and that's normal, that's the role of having max_allowed_packet).
So even if Driver would implement this blobSendChunkSize, that wouldn't work. Maybe 5.5 did permit that. Option blobSendChunkSize doesn't make any sense now.
>I tried storing a 782M file in a blob : update statement fails with "exceeded max_allowed_packet" error despite configuring it to 1G.
That is not normal.
I've check that there was no regression, and successfully send 1 000 000 000 bytes with max_allowed_packet to 1G.
Can you still reproduced this issue ?
Connect string option blobSendChunkSize from the original MySQL connector seems not to be supported by MariaDB Connector/J.
This is unfortunate since it prevents storing or retrieving Blobs larger than max_allowed_packet (see this SO question ).