Bug #113591 | connector/J support query not returning resultset metadata | ||
---|---|---|---|
Submitted: | 9 Jan 2024 9:43 | Modified: | 11 Jan 2024 12:52 |
Reporter: | Allen Iverson | Email Updates: | |
Status: | Unsupported | Impact on me: | |
Category: | Connector / J | Severity: | S4 (Feature request) |
Version: | 8.0 | OS: | Any |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
Tags: | ResultSet metadata |
[9 Jan 2024 9:43]
Allen Iverson
[11 Jan 2024 12:52]
Filipe Silva
Hi Allen, Thank you for your interest in MySQL Connector/J. So far we haven't considered implementing this feature because the absence of metadata is not JDBC compliant. However, we know it could be useful as a companion of https://dev.mysql.com/doc/connector-j/en/connector-j-connp-props-performance-extensions.ht..., in which case, repeating queries could leverage the reuse of metadata information from the first execution. The problem with this approach is in the nature the system variable `resultset_metadata` which the connector can't control completely, and it could happen the server can send results for which the connector doesn't have any cached metadata. Anyway, this is how it is today. I can't say whether or when we might consider implementing some form of this feature or not.