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.