[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: |
|
||||||||
| 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 |