I found a posting on the wM Advantage site that explains why synonyms do not work, which I have attached below.
Does anyone know of an Oracle JDBC Driver that does support synonyms? The Custom SQL work-around provided below is not desirable.
Issue
I’m using enterprise JDBC Adapter 4.6 and connecting to an Oracle DB. When trying to configure an ‘Insert Operation’ on a synonym, I can see the synonym name in the drop down list of tables, and I’m able to select it. However, the “Insert” tab does not show any columns. Why don’t the other tabs get populated for synonyms in the same they get populated for normal tables?
Resolution
The problem that you are facing is a limitation in the driver, which in this case would be the Oracle native driver (classes12.zip). The adapter is not displaying the fields in the ‘Insert’ tab because the driver doesn’t support this functionality and the adapter is just a generic interface to the driver. The drivers do not implement methods (DatabaseMetadata.getColumns()) for getting column information for synonym, though they do implement methods (DatabaseMetadata.getTables()) to get synonym names. This is why the adapter can automatically provide synonym names, but not synonym columns. We have seen this limitation in both the Oracle and Informix native drivers.
However, you can use CustomSQL configured operation to work with Synonyms.
#webMethods#Integration-Server-and-ESB#Adapters-and-E-Standards