Bug #84308 | MySQL JDBC driver do not report COLUMN_SIZE for TIME/TIMESTAMP related columns | ||
---|---|---|---|
Submitted: | 22 Dec 2016 3:47 | Modified: | 5 Nov 2022 2:04 |
Reporter: | Rahul Dhuvad | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S2 (Serious) |
Version: | 5.1.40 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | COLUMN_SIZE, metadata, precision, ResultSet, scale, timestamp |
[22 Dec 2016 3:47]
Rahul Dhuvad
[22 Dec 2016 7:48]
Chiranjeevi Battula
Hello Rahul, Thank you for the bug report. Verified this behavior on MySQL Connector / J 5.1.40. Thanks, Chiranjeevi.
[22 Dec 2016 7:48]
Chiranjeevi Battula
output: Column name: c1_time DATA_TYPE : 92 TYPE_NAME : TIME COLUMN_SIZE : 8 DECIMAL_DIGITS : null Column name: c1_time_1 DATA_TYPE : 92 TYPE_NAME : TIME COLUMN_SIZE : 8 DECIMAL_DIGITS : null Column name: c1_time_2 DATA_TYPE : 92 TYPE_NAME : TIME COLUMN_SIZE : 8 DECIMAL_DIGITS : null Column name: c1_timestamp DATA_TYPE : 93 TYPE_NAME : TIMESTAMP COLUMN_SIZE : 19 DECIMAL_DIGITS : null Column name: c1_timestamp_1 DATA_TYPE : 93 TYPE_NAME : TIMESTAMP COLUMN_SIZE : 19 DECIMAL_DIGITS : null Column name: c1_timestamp_2 DATA_TYPE : 93 TYPE_NAME : TIMESTAMP COLUMN_SIZE : 19 DECIMAL_DIGITS : null Column name: c1_timestamp_3 DATA_TYPE : 93 TYPE_NAME : TIMESTAMP COLUMN_SIZE : 19 DECIMAL_DIGITS : null BUILD SUCCESSFUL (total time: 0 seconds)
[6 Feb 2017 4:30]
Rahul Dhuvad
Hi, When can we expect the fix for this issue? Thanks, Rahul.
[18 Feb 2017 4:36]
Rahul Dhuvad
Any updates on when this issue is expected to be fixed? We need to plan our application logic accordingly. Thanks, Rahul.
[5 Nov 2022 2:04]
Filipe Silva
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at http://www.mysql.com/downloads/