Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-12260

Schema in the connection URL can't be used with Oracle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Critical Critical
    • None
    • fuse-7.4-GA
    • Fuse Online
    • Fuse 7.6 - Sprint 56 (2/4)

      Technically, we can pass the schema name in the SQL statement, however that doesn't seem to work either.. which is funny because SELECT * FROM <schema>.<table> is valid SQL.

      Below steps to reproduce the issue:

      The error occurs. The meta pod log shows the error, see below:

      Caused by: io.syndesis.common.util.SyndesisServerException: Table 'TEST' does not exist in schema 'TABLEAPI' 
      at io.syndesis.connector.sql.SqlConnectorMetaDataExtension.meta(SqlConnectorMetaDataExtension.java:60) ~[connector-sql-1.7.13.fuse-740001-redhat-00002.jar!/:1.7.13.fuse-740001-redhat-00002] 
      at io.syndesis.connector.support.verifier.api.ComponentMetadataRetrieval.fetchMetaData(ComponentMetadataRetrieval.java:58) ~[connector-support-verifier-1.7.13.fuse-740001-redhat-00002.jar!/:1.7.13.fuse-740001-redhat-00002] 
      at io.syndesis.connector.support.verifier.api.ComponentMetadataRetrieval.fetch(ComponentMetadataRetrieval.java:48) ~[connector-support-verifier-1.7.13.fuse-740001-redhat-00002.jar!/:1.7.13.fuse-740001-redhat-00002] 
      at io.syndesis.connector.meta.v1.ConnectorEndpoint.actions(ConnectorEndpoint.java:80) ~[classes!/:1.7.13.fuse-740001-redhat-00002] 
      ... 88 common frames omitted
      

      We have tried to work around the issue:

      • Tried a query on a table instead of a view
      • Tried a different SCHEMA / table in the same DB.
      • Tried quotes (" ") around schema and viewname (sometimes the _ underscores are a problem)
      • Tried with and without schema in the connection
      • Tried deleting everything and recreate extension and connection again.

              kstam@redhat.com Kurt Stam (Inactive)
              rhn-support-aboucham Abel Bouchama
              Andrej Smigala Andrej Smigala
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: