Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
ResultSetMetaData.getTableName returns table alias instead of real table name in for example following type of query.
SELECT id FROM t1 AS t1_alias
|
Currently ResultSetMetaData.getTableName would return t1_alias.
ResultSetMetaData.getTableName should return the real table name and this was fixed in the MySQL Connector/J some years back. An URL parameter called useOldAliasMetadataBehavior was introduced if someone wants to continue using the old behaviour.
Attachments
Issue Links
- relates to
-
CONJ-163 make column label name display instead column name when useOldAliasMetadataBehavior option true
- Closed