IBM Support

[Db2] JCC4 は getColumnName/getColumnLabel の挙動が従来のバージョンと異なる

Question & Answer


Question

JDBC を使った照会で、列名に AS で別名を指定しても、アプリケーションから別名で参照できません。 以前のバージョンでは期待通り動作していましたが、なぜ参照できなくなったのでしょうか。また、元の動作に戻すことはできますか。

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"ARM Category":[{"code":"a8m500000008PmVAAU","label":"Programming Interface-\u003EJDBC"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
30 April 2025

UID

swg21601214