Bug #109807 DatabaseMetaData#getTypeInfo should ordered by DATA_TYPE

Submitted: 27 Jan 2023 5:05 Modified: 23 Mar 2023 18:15
Reporter: Jin Kwon Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version:8.0.32 OS:Any
Assigned to: CPU Architecture:Any
Tags: DatabaseMetaData

[27 Jan 2023 5:05] Jin Kwon
Description:
DatabaseMetaData#getTypeInfo's result should be ordered by DATA_TYPE.

I see the following order.

dataType=-2
dataType=-7
dataType=-5

How to repeat:
Invoke and see.
[27 Jan 2023 8:07] MySQL Verification Team
Hello Jin Kwon,

Thank you for the report and feedback.

regards,
Umesh
[23 Mar 2023 18:15] Daniel So
Posted by developer:
 
Added the following entry to the C/J 8.0.33 changelog: 

"Results returned by the getTypeInfo() method of the DatabaseMetadata interface were not sorted by DATA_TYPE as required by the JDBC specification."

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.052 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.