[CONJ-991] Regression: binary(16) is returned as String by getObject() Created: 2022-07-10  Updated: 2022-07-20  Resolved: 2022-07-20

Status: Closed
Project: MariaDB Connector/J
Component/s: JDBC compatibility
Affects Version/s: 3.0.6
Fix Version/s: 3.0.7

Type: Bug Priority: Major
Reporter: Amin Ahmad Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None
Environment:

Ubuntu Linux


Issue Links:
Problem/Incident
is caused by CONJ-987 Version 3.0.0 returns String for VARB... Closed

 Description   

In org.mariadb.jdbc:mariadb-java-client:2.7.6, calling getObject() on a ResultSet where the underlying column is defined as binary(16) returns byte[], which is expected.

However, the 3.x series returns a String instead. This seems to me like a serious regression.

My server is:

mysql Ver 15.1 Distrib 10.6.7-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper


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