変更内容
fjsymjdbc2.jarにおいて、これまで未サポートとしていた以下のJDBCのAPIをサポートします。
DatabaseMetaDataクラスの以下のメソッド
getCatalogTerm
isCatalogAtStart
getCatalogSeparator
supportsCatalogsInDataManipulation
supportsCatalogsInProcedureCalls
supportsCatalogsInTableDefinitions
supportsCatalogsInIndexDefinitions
supportsCatalogsInPrivilegeDefinitions
getMaxCatalogNameLength
getCatalogs
getTableTypes
getColumnPrivileges
getTablePrivileges
getBestRowIdentifier
getVersionColumns
getImportedKeys
getExportedKeys
getCrossReference
deletesAreDetected
insertsAreDetected
updatesAreDetected
getUDTs
othersDeletesAreVisible
othersInsertsAreVisible
othersUpdatesAreVisible
ownDeletesAreVisible
ownInsertsAreVisible
ownUpdatesAreVisible
supportsBatchUpdates
ResultSetMetaDataクラスの以下のメソッド
getCatalogName
非互換
上記APIのサポートに伴い、これまでAPI実行時にSQLExceptionの例外が発生していたものが、例外が発生しなくなり、JDBC規約通りに正常に動作するようになります。
対処方法
今回サポートするAPIが既存の動作となる(SQLExceptionの例外となる)ようにするためには、データソースのオプションとして、metadatacompatibleを設定してください。
metadatacompatiable={YES|NO}
metadatacompatiable =NO
上記のAPIを実行時にSQLExceptionの例外が発生するようになります。
上記のAPIがサポートされ、実行時にSQLExceptionの例外が発生せず、正常に値が返却されるようになります。
オプションの設定方法として、JDBCデータソース登録ツールを使用する場合の例を説明します。symjddefdsコマンドを使用する場合、DriverManagerクラスのAPIを使用する場合には、“アプリケーション開発ガイド(JDBCドライバ編)”を参照し、それぞれの方法で、オプションを設定してください。
JDBCデータソース情報設定画面の[オプション]ボタンを押し、データソースのオプション情報設定画面を表示し、[その他パラメタ]に、metadatacompatiableオプションを設定します。