How to suppress exceptions for JDBC methods that TIBCO Data Virtualization does not support?

How to suppress exceptions for JDBC methods that TIBCO Data Virtualization does not support?

book

Article ID: KB0073165

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization All supported versions

Description

When accessing a JDBC method that TIBCO Data Virtualization (TDV) Server does not support, the system would throw a SQLException like, “The operation 'void getWarnings()' is not supported. If you don't want to get an Exception, you can use &unsupportedMode=silent in the JDBC URL.[jdbc-1947005]".

Environment

All supported Operating Systems

Resolution

If you prefer that the system does not throw exceptions when you use unsupported methods, set unsupportedMode to silent in the JDBC connection URL, as in the following example:
jdbc:compositesw:dbapi@localhost:9401?domain=composite&dataSource=examples&unsupportedMode=silent

Issue/Introduction

How to suppress exceptions for JDBC methods that TIBCO Data Virtualization does not support?