Bug #81241 Column default value ON UPDATE not available in DatabaseMetaData#getColumns()
| Submitted: | 29 Apr 2016 14:12 | Modified: | 2 May 2016 17:01 |
|---|---|---|---|
| Reporter: | Stefan Thurnherr | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | Connector / J | Severity: | S3 (Non-critical) |
| Version: | 5.1.38 | OS: | Any |
| Assigned to: | Filipe Silva | CPU Architecture: | Any |
[29 Apr 2016 14:12]
Stefan Thurnherr
[2 May 2016 17:01]
Filipe Silva
Hi Stefan, Thank you for this bug report. Actually the clause "ON UPDATE CREATED_TIMESTAMP" doesn't belong to the "DEFAULT" setting. I'm setting this report as "Verified" because we may consider extending the ResultSet returned from DatabaseMetaData.getColumns() with an additional field that will contain this information. While this doesn't happen, you can query directly the system table INFORMATION_SCHEMA.COLUMNS, where you'll find the column EXTRA containing this information. I hope that helps.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.051 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.