[CONJ-1001] For UUID column, the type name in metadata should not be CHAR Created: 2022-08-19 Updated: 2022-09-02 Resolved: 2022-09-02 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | metadata |
| Affects Version/s: | 3.0.7 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Minglei Lee | Assignee: | Diego Dupin |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | uuid | ||
| Environment: |
Server: Win2019 + mariadb-10.7.5-winx64, Client: MacOS + mariadb-java-client 3.0.7 |
||
| Issue Links: |
|
||||||||
| Description |
|
Consider the following code: SQL
Java
For MariaDB, the result of s is "CHAR, 1, java.lang.String". The latter is more reasonable. For the former, we does not know it's a UUID column or a CHAR column with size = 36. |
| Comments |
| Comment by Diego Dupin [ 2022-09-02 ] |
|
This will be in next version 3.1 with UUID support |