Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2125

Exceptions when Teiid's JDBC translator uses ModeShape's JDBC DatabaseMetaData implementation

    Details

      Description

      Teiid is using is JDBC translator to read the metadata (via JDBC DatabaseMetaData) from a local modeshape datasource:

                    <datasource jndi-name="java:/datasources/ModeShapeDS" pool-name="ModeShapeDS" enabled="true" use-java-context="true">
                          <connection-url>jdbc:jcr:jndi:jcr?repositoryName=dv</connection-url>
                          <driver>modeshape</driver>
                          <security>
                              <user-name>admin</user-name>
                              <password>admin</password>
                          </security>
                      </datasource>
      

      The translator class that actually reads the JDBC DatabaseMetaData is Teiid's org.teiid.translator.jdbc.JDBCMetadataProcessor, and it gets the following exception:

      08:33:44,914 ERROR [stderr] (teiid-async-threads - 2) java.sql.SQLFeatureNotSupportedException
      08:33:44,915 ERROR [stderr] (teiid-async-threads - 2) 	at org.modeshape.jdbc.JcrMetaData.getTypeInfo(JcrMetaData.java:1656)
      08:33:44,915 ERROR [stderr] (teiid-async-threads - 2) 	at org.teiid.translator.jdbc.JDBCMetdataProcessor.getConnectorMetadata(JDBCMetdataProcessor.java:107)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rhauch Randall Hauch
                  Reporter:
                  van.halbert Van Halbert
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: